maniacbug / RF24Network

Network Layer for nRF24L01(+) Radios
http://maniacbug.github.com/RF24Network
272 stars 129 forks source link

Boolean incompatible type error #26

Open wcrookes opened 8 years ago

wcrookes commented 8 years ago

This error has unexpectedly arisen on two sample sketches which previously worked:

(personal library file) RF24Network/RF24Network.cpp:67:12: error: assigning to 'boolean' (aka 'unsigned char') from incompatible type 'void' done = radio.read( frame_buffer, sizeof(frame_buffer) ); ^ ~~~~~~~~~~~~ 1 error generated.

The error occurs in two example Arduino files/sketches within maniacbug/RF24Network at GitHub: helloworld_rx and helloworld_tx, _although there doesn't appear to have been any changes to any of the files associated with RF24Network for two years! _

HELP PLEASE!! Suggestions?! Thank you.

Wayne (Vancouver, Canada)

https://github.com/maniacbug/RF24Network/tree/master/examples/helloworld_r https://github.com/maniacbug/RF24Network/commit/7a7bbfb6d4e217c6558e0648d754142483b2114