proper syntax to send HEX codes with FullDuplexSerialPlus.spin
Crosswinds
Posts: 182
What is the proper syntax to send a hex code with FullDuplexSerialPlus.spin?
If i want to send the code 0C for example, what is the syntax for it?
example.hex (whattoputinhere)
Thanks!
·
If i want to send the code 0C for example, what is the syntax for it?
example.hex (whattoputinhere)
Thanks!
·
Comments
Possibly you misunderstand the use of hex in the FDX object. A good place is to look inside the object to find the structure of the call.· Hex will·convert a byte/word/long into a number of hex byte characters (0..9, A..F) and send them serially. The number of characters sent is defined by the second parameter.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
But i did actually just forget to change the mode to bit 2 and then got confused becouse of my code didnt work!