Brightsign Object Reference Manual (FW 5.1) Manual de usuario Pagina 277

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 341
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 276
1 2 ... 272 273 274 275 276 277 278 279 280 281 282 ... 340 341

Comentarios a estos manuales

Sin comentarios