I have a program I've written to measure RPM via a hall effect sensor, and display that data on a HD44780 compatible LCD. I have can read the hall effect sensor via interrupt, and i can display stuff on the LCD just fine, but there must be some weird interactions that I'm not understanding because my program (or more specifically the arduino board) hangs randomly.
hopefully someone on this forum can point out to me either what I'm doing wrong, or some tips to help narrow down what is causing the problem.
I have a delay in my loop() function, but from reading the documentation the interrupt will still get called fine during that, and it appears too.
If I start triggering the hall effect sensor, eventually it will lock up and the 'alive' count will stop updating. It only locks up during (or more specifically in relation to) an interrupt firing, but I don't know how to be any more specific.
A copy of my program is here http://jehiah.cz/download/arduino_rpm_counter.txt
and an image of my device is here http://www.flickr.com/photos/jehiah/3246906338/