UPDATED: I removed all delay();
calls because they were not accurate enough, and there was a time drift. Instead, now there is a while();
that waits until the required time has passed.
Recently I found here a really cheap LCD shield with buttons for Arduino.
Today it arrived, and I made a simple clock program to test it out. It’s a little slow when refreshing the screen, but it’s perfect for the price.
A really cool application would be to use it together with a Raspberry Pi to execute simple commands and see a small web server’s status.
Here are some pictures, a video, and the code for the clock application. It is using the LCDKeypad
C++ class which can be found here.