Hi,
I am using RFM12b with mega328p with jcw's library. I have a demo program from examples provided within the library.
#include#include #include RF12 RF12; void setup() { Serial.begin(9600); Serial.print("\n[rf12serial]"); rf12_config(); } void loop() { if (Serial.available()) RF12.send(Serial.read()); if (RF12.poll()) Serial.print(RF12.read()); }
I get no data from my serial port except the "[rf12serial]". i have tested f12_canSend(void) and rf12_recvDone(void) with no success. Moreover, I changed the initialization using rf12_easyInit(uint8_t secs) and rf12_spi_init() but still got nothing. The hardware connection seems good and I have wired according to these schematics.
http://jeelabs.org/2009/02/10/rfm12b-library-for-arduino/
How can I find the problem? Is there a kind of signaling on a specific pin so I can trace it and find the bug? or is there a kind of debugging process you have used?
Thanks a lot for sharing your experience.