Posts Tagged ‘Interrupts’
Coding for the challenged
Ever since the dawn of time coding has been a foreign language to me. I pick up bits and pieces but largely it gets forgotten or lost.
Tonights issue is about interrupts and debouncing buttons. What better thing to do whilst listening to the 6m white noise contest (also known as vhf from my qth).
The idea is simple. I made a shack clock from a gps and an arduino. I made it tell the time, tell me the position I’m in (no I don’t mean like that) an calculate the locator square. Now then all I want to do is link these together with a simple button press. Press the button and it changes from one function to the next.
Holy arduino, this isn’t straightforward at all. Buttons need debouncing and interrupts don’t like this or that. I feel a long development time in my future…still there’s not much on 6m and 2 contacts in the first hour isn’t going to win me any awards.