I am just getting back into Arduino after a few years away and having fun. I am interested in a little RF project and bought a receiver/transmitter. However, I am confused by my very first step, before I even hook anything up
I have installed the RadioHead library and I am using the RF_ASK.H driver.
I call driver.init() on my setup() method and receive back True. So far so good. Then I call this code in my loop()
bool sendResult = false;
bool waitResult = false;
sendResult = driver.send((uint8_t *)msg, strlen(msg));
waitResult = driver.waitPacketSent();
Both sendResult and waitResult return True, every time. Also, driver.txGood() returns an incrementing number each time, within my loop.
It’s all good - except that this is with no transmitter attached to my Arduino Micro.
I am obviously missing something pretty basic here, but I would have assumed at least one of the methods I call would have returned False with no transmitter attached.
Can someone put me out of misery?