Hello everyone, I'm currently working on a program that will send a message trough bluetooth for my 3pi, but I can't seem to be able to read anything that I send or receive. Here's the code I'm currently working with:
code.txt (4.3 KB)
I want to use the external clock at 20MHz and the standard baud rate of 115200.
I think my serial com setup is good, but I can't quite grasp the problem with my UART
communication. what I'm trying to do is send a value between 0-100 to my 3pi and then
my 3pi would confirm it by TXing it back to me. I have the sparkfun modem Rx to TX and TX to RX
and working as previously tested with a serial com port on my Cellphone.
I'm wondering if I set my clock and COM right, because since the code is so simple, I don't understand
where to look anymore. Can anyone give me some advices?
thanks in advance.