Velleman К8063 Manuel d'utilisateur Page 17

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 20
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 16
17
EX3: To turn on all segments on all units with address ‘1’ : Execute the ‘B’-command and supply address
‘1’. Next, execute the ‘S’ (strobe) command.
Data to be sent to serial port :
Chr$(13) (Init command)
Chr$(1) (Address 1)
Chr$(66) “B” = Byte command
Chr$(255) (255 = sum of segments)
Chr$(177) (Checksum : 2-compliment of the sum of the 4 previous bytes)
100ms pause
Chr$(13) (Init command)
Chr$(8) (Don’t care)
Chr$(83) “S” = strobe command
Chr$(1) (Don’t care)
Chr$(151) (Checksum : 2-compliment of the sum of the 4 previous bytes)
Note : Our website www.velleman.be features some example programs written in VB6 which
can be used as a guide for writing your own software (source code is supplied).
Hook-up
Vue de la page 16
1 2 ... 12 13 14 15 16 17 18 19 20

Commentaires sur ces manuels

Pas de commentaire