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.

Alex Hill, G7KSE, is a regular contributor to AmateurRadio.com and writes from Cumbria, UK. Contact him at [email protected].

Leave a Comment

Subscribe FREE to AmateurRadio.com's
Amateur Radio Newsletter
News, Opinion, Giveaways & More!

E-mail 
Join over 7,000 subscribers!
We never share your e-mail address.



Also available via RSS feed, Twitter, and Facebook.


Subscribe FREE to AmateurRadio.com's
Amateur Radio Newsletter

 
We never share your e-mail address.


Do you like to write?
Interesting project to share?
Helpful tips and ideas for other hams?

Submit an article and we will review it for publication on AmateurRadio.com!

Have a ham radio product or service?
Consider advertising on our site.

Are you a reporter covering ham radio?
Find ham radio experts for your story.

How to Set Up a Ham Radio Blog
Get started in less than 15 minutes!


  • Matt W1MST, Managing Editor




Sign up for our free
Amateur Radio Newsletter

Enter your e-mail address: