Society of Robots - Robot Forum

Software => Software => Topic started by: Admin on February 13, 2009, 09:26:22 PM

Title: new UART datastream source code for Axon
Post by: Admin on February 13, 2009, 09:26:22 PM
I should have released this code ages ago . . .
http://www.societyofrobots.com/axon/axon_function_list.shtml#uart

Basically its sample code to read in datastreams from a device such as GPS or a camera like Blackfin or CMUcam for the Axon microcontroller.

Its all plug and play. For example with GPS:
1) plug in Rx, Tx, ground, and power from GPS to UART3 on the Axon
2) call Receive_Echo(counter) in your code
3) and your datastream instantly gets stored in response[counter]

Couldn't get any simpler :P

And just for fun, I also posted code to send commands from HyperTerminal to the Axon. For example, push the letter 'r', and your robot will turn right . . . or anything you want. Use bluetooth and you got an instant remote control robot.