Brightsign Object Reference Manual (FW 5.1) Manual do Utilizador Página 277

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 341
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 276
269
gpioPort = CreateObject("roControlPort", "BrightSign")
gpioPort.EnableOutput(2)
gpioPort.SetOutputState(2, true)
gpioPort.EnableOutput(3)
gpioPort.SetOutputState(3, true)
' set up pulse to have two time slices of 250ms each.
gpioPort.SetPulseParams({ milliseconds: 500, slices: 2 })
' pin 2 will have slice 1 on and slice 2 off.
gpioPort.SetPulse(2, &h01)
' pin 3 will have the reverse of pin 2.
gpioPort.SetPulse(3, &h02)
' wait for a bit.
sleep(10000)
' stop pulsing on pin 2.
gpioPort.RemovePulse(2)
Vista de página 276
1 2 ... 272 273 274 275 276 277 278 279 280 281 282 ... 340 341

Comentários a estes Manuais

Sem comentários