
charleybot
USA
Asked
— Edited
Hi,
I was just testing a couple serial lcd's as well as a few other serial devices I have and using EZ-Script I have the following:
SendSerial(d15,38400,"Hello")
I get an error message that says "Syntax Error: Hello is not in a valid format. Accepts Hex, Char, String, or Decimal.
What am I doing wrong?
Thanks..
Enjoy
Getting updates that frequent is very nice!
I've been experimenting with the ez-board for some time. First i bought some servos and got them working. Then decided to experiment with a GPS. That's where i got stuck.
I don't see how to read a serial signal from the GPS (The string sent from the GPS). Is there a cmd like GetSerial(port, baud rate, string)? If not, it would be so nice to have. ;-)
/Anders
Within any EZ-Script editor, there is help on the right resizable window pane. The search box will allow you to search for any GPS specific EZ-Script commands.
@ DJ: Unfortunately i my version of the EZ-Script editor the only command is the "GPSStop(...)"
(2012.11.17.00, firmware v16)
I'd expect the GPS module to be connected at one of the digital ports: ex:D8?, the baud rate to be set to ex. 4800 and being able to choose these?
@Charleybot: In the setup in the GPS script under Misc in the Config Window I can choose between the COM3 and COM4 ports (the COM3 is used for bluetooth communication with the ez-board) . I'd expect to be able to choose one of the digital/serial ports (D0-D19) on the ez-board?
Im a bit lost here.
/Anders
happy to help
Did I miss something?
If that's the case then he would have to have some sort of wireless to UART controller(s) Like an XBee, one on the robot and the other on the pc, on the pc side he would need some sort of virtual serial port driver I think, correct me if I am wrong..
Your answers and comments brings me back to my original wish, namely a function like "ReadSerial(Port, Baud, *String)", With that I'll try to do the encoding myself. *tired*
/Anders