Brightsign Object Reference Manual (FW 5.1) Uživatelský manuál Strana 288

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 341
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 287
280
Pronto Hex Format
Raw captures of Pronto Hex commands will likely not work with the inbuilt IR blaster, though they should work
with Iguanaworks IR transceivers. This is a result of the trailing off periods, which are too long to be ecoded properly.
Changing the off periods to all zeros ("0000") will fix this issue.
Example: The following example sends an "ON" command to a Panasonic television using a single string of Pronto Hex
Code. You can also provide Pronto Hex Code as an roArray of hex values, which results in less work for the script engine.
ir = CreateObject("roIRRemote")
pronto_hex_Panasonic_on_str = " 0000 0071 0000 0032 0080 003F 0010 0010 0010 0030
0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010
0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010
0010 0010 0010 0010 0010 0010 0010 0030 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010
0010 0010 0010 0010 0010 0010 0010 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030
0010 0010 0010 0010 0010 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0010 0010
0010 0030 0010 0000"
ir.Send("PHC", pronto_hex_lg_on_str)
Zobrazit stránku 287
1 2 ... 283 284 285 286 287 288 289 290 291 292 293 ... 340 341

Komentáře k této Příručce

Žádné komentáře