Eb500 Communication with HyperTerminal
Phuf
Posts: 2
Hey, I have an eb500 Blue Tooth board that is connected to my Dell mini laptop via the "serial connection" blue tooth option. What I'd like to do is have the blue tooth board transmit the variable "range" (for the ping.spin demo) to the hyperterminal on my laptop (just one way communication). All attempts so far have failed and my team is frustrated to say the least.
It's not the connection that's the problem, it's the code:
serial_PC.init(0, 1, 9600) 'serial_PC.init(rxpin,txpin,9600)
serial_PC.str(string("Range"))
serial_PC.str(Num.toStr(range,Num#DDEC))
Can anyone tell me what's wrong? Greatly appreciate your help!
- Phil
It's not the connection that's the problem, it's the code:
serial_PC.init(0, 1, 9600) 'serial_PC.init(rxpin,txpin,9600)
serial_PC.str(string("Range"))
serial_PC.str(Num.toStr(range,Num#DDEC))
Can anyone tell me what's wrong? Greatly appreciate your help!
- Phil
Comments
Your conversion to string looks wrong but I am not a spin expert.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot