*middle brother not included
Warning: peptalks are not always positive and uplifting, because sometimes you're just being a little whiner baby, Tom.
Well, I had some help. I worked off a very similar project. This person used a common LCD library published by Peter Fleury, and I read a lot of this tutorial. I have attached all the eagle files and code you might need, which I have heavily commented so you can see what I changed in the LCD library (it needs to be changed for your hardware). I used three buttons, like I learned for Week 9. And outputting LCD messages was a matter of configuring the lcd.h and lcd.c files correctly. I used Atmel Studio to compile the programs, then make to put it on the board (since I don't have an avrisp mkII of my own). I tried to use makefiles but was unable to compile the libraries correctly using it.
First - contrast! The data sheet calls for 4.2V on the backlight, and 0.6V on the contrast. Using resistors to make voltage dividers, I was able to do contrast, but clearly 4.4V was too much for the backlight. I should have ordered potentiometers, to make it easier to set those voltages and read the screen, though it works marginally now. Or better yet - maybe add potentiometers to the fab lab inventory?? Second - I wish I'd been able to use Makefiles for the whole thing rather than Atmel then running in make:
I've linked some Makefile tutorials below that I'd been working on to figure out how to link the lcd.h and lcd.c libraries to my c file. Third - use better connectors! I had trouble routing the board with those 2x5 headers, so I just used long connectors and soldered directly. As a consequence, the board is quite fragile and leads can become dislodged. I need better cable management. Lastly - make this look much nicer, like with a case and larger buttons, etc. I'm proud of it now, but I had hoped to be done sooner so I'd have time for fit and finish.
Tutorials (for my own reference later) on Makefiles... I really should be able to figure this out