Hi,
i need to send the Serial input (a full characterstring, for example "Test 123") from a JeeLink to a specific Node. The node has a Dotmatrix-Display connected.
Maybe someone could spend some code ;-)
This forum has moved to forum.jeelabs.net - this read-only archive is for reference only!
Hi,
i need to send the Serial input (a full characterstring, for example "Test 123") from a JeeLink to a specific Node. The node has a Dotmatrix-Display connected.
Maybe someone could spend some code ;-)
To send from a JeeLink running RF12demo, you'll need to send it as decimal bytes, i.e.
84,101,115,116,32,49,50,51,9s
(that last value "9" is the node id to send to)
The receiver end depends on the display, of course. The basic receiving part is to call rf12recvDone() until it returns true, then you've got the data in rf12data], with rf12len indicating how many bytes were received.
Okay, its done: http://www.youtube.com/watch?v=zFAATv43PGc
Sends the current Time over the air to my Dotmatrix.
Cool!
I'm using your question to set up a (less fancy) demo for the next weblog post.