moved code out of interrupt.  didnt belong there
better power usage and get a few more bytes back
minor optimizations
Sketch uses 10,488 bytes (36%) of program storage space. Maximum is 28,672 bytes.
Global variables use 957 bytes (46%) of dynamic memory