Asked — Edited
Resolved Resolved by DJ Sures!

Uart Read Commands

Perhaps it's just me but the UART commands for reading data is in the manual but when I try to type it in it does not seen to work and where the command would show up kind of like intellisense they do not.

Any help would be appreciated.


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

PRO
Synthiam
#1  

Have you loaded the Example Project for the UART included in ARC? That's the best way to get an example...


uartinit(0, 0, 9600)

uartWrite(0, 0, "Hello world!")

#2  

I have looked at the examples and writing works just fine but reading does not.

It shows nothing in the buffer.

I even used the example script. I am using two xbee units.

I verified my wiring and will try to verify the xbee units.

#3  

I got it working. Feel like slapping myself. I completely forgot the ground wiring. I was powering the one unit from the 5 volt of an arduino since that's all I had laying around to provide the 5 volts.

O well you live you learn.

Thanks.