Category : loops

I have wireless RF (433mhz) transmitter which is sending out packets to the receiver using RadioHead library. If there is a converted input voltage value on A0 pin, the transmitter send 1. Otherwise it sends 0. Everything is working completely fine and I can see the correct values on the receiver side. The problem is ..

Read more

I’m trying to merge two loop functions. I’m trying to include the two into one void(loop). The first loop I call for a few functions being constData(); and varData();. The second loop is for a button/switch. How would I go about doing so? I am using an Arduino and C/C++ //first loop——– void loop(){ if(mode!=lastMode) ..

Read more