dparson55 / NRFLite

nRF24L01+ library with AVR 2 pin support, requiring very little code along with YouTube videos showing all available features.
MIT License
161 stars 26 forks source link

send text #59

Closed roysG closed 3 years ago

roysG commented 3 years ago

Hi, Great library!

How can i send also text?

dparson55 commented 3 years ago

There are two examples you can study on how to send text.

Sensor_TX_ATtiny85_2Pin.ino Sensor_RX.ino The radio hardware has a fairly small maximum packet size so for short strings of text, you can create a MessagePacket such as the one from this example.

SplitDataAcrossMultiplePackets_TX.ino SplitDataAcrossMultiplePackets_RX.ino For longer strings of text that will not fit into a single packet, you can study this example to see how one can split the text into smaller pieces that are later re-assembled into the long string of text after all the smaller packets are sent.

roysG commented 3 years ago

Thanks!