Hi,
Im trying to figure out how to send and receive a simple message (tx, rx) to SPI on a arduino uno rev3.
Can someone help me?
Hi,
Im trying to figure out how to send and receive a simple message (tx, rx) to SPI on a arduino uno rev3.
Can someone help me?
to send and receive a simple message
From what?
Rob
some tranceiver, i have 2 arduino's so it would be like sending a message from one to the other, it doesnt matter what the message is.
With no details I'd say you send data using Serial.write() and you get data using Serial.available() and Serial.read().
There are a gazillion examples on this forum or have a look here
Rob
Keep in mind that SPI and Serial are two DIFFERENT ways of communicating. Which are you trying to do?
Serial would be nice but im using a mrf49xa so i cant get that to work because i need a clock, sdi, sdo, and cs.
So i figure why not use spi to do this. i dont see a better way to send and receive.
Oh SPI, maybe I should read the title
In that case read here
Nick has plenty of info and sample code.
Rob