I emailed you the .ino file
I will have to shrink down the code to try and put it here..it exceeds the 9500 character limit...
To upload, I'm using the USB, but after upload, I have 2 (3.9 V ) lithium batteries = 7.8 V powering it all...
I'll try and shrink it down..
I have a lot of LED commands that would be irrelevant here...