Assistance in diploma. Question programming the Arduino mega

so step one getting rid of the delays() and step two using the state change idea to increment the count variable.
a bit of work to be done...
:wink: