Development

And heres the global.h file for reference and variables:

httpc://github.com/JoshAshby/Atmega328p-Dev-board-code/blob/master/global.h

In all, this aids me both in finally getting buttons, and a nice little library to easily use them, but also getting BOB a little more ready for his new boards. Finally this helps me with my camera trigger box (new project, more to come later) which will 4 buttons for input and menu navigation.

The one thing that I have left to get working is detecting if the button has only been pressed or if it was held down.

I’ve also been working on cleaning up the code, libraries mainly, and comment it and document it as best as I can yet still keep the comments from being too over whelming.

After I get button hold detection working, I’m moving onto rewriting the ultrasound data filter and the PWM ramp up/down functions in BOB’s code to be up to date and less bulky from what they are right now.