maniacbug / RF24Network

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

Edited examples/helloworld_rx/helloworld_rx.pde via GitHub #1

Closed Spoiler closed 13 years ago

Spoiler commented 13 years ago

In file included from helloworld_rx.cpp:16: C:\arduino-0022\libraries\RF24Network/RF24Network.h:135: error: 'size_t' does not name a type C:\arduino-0022\libraries\RF24Network/RF24Network.h:147: error: 'size_t' has not been declared In file included from helloworld_rx.cpp:17: C:\arduino-0022\libraries\RF24/RF24.h:175: error: 'prog_char' has not been declared C:\arduino-0022\libraries\RF24/RF24.h:188: error: 'prog_char' has not been declared helloworld_rx.cpp: In function 'void loop()': helloworld_rx:52: error: 'class RF24Network' has no member named 'read'

maniacbug commented 13 years ago

Thanks for reporting this. I just pushed up a fix to RF24 and RF24Network. It's better to fix this in the header rather than the individual example sketches. I guess I should actually try these in the IDE sometimes!