I am trying to sort some code out for a wireless weather station connected to a base station using the NRF24L01 device.
I try to verify the code that I have but it keeps responding to me with alarm was not declared in this scope and highlighting the following passage.
attachInterrupt(0, alarm, FALLING); // setting the alarm interrupt
I have also attached the entie code for reference.
Any help is greatly appreciated.
Cooper_station.ino (10.9 KB)