PaulS:
The objective of the program is no longer clear. The variable names don't provide a clue. Your requirements have not been spelled out, that I can see.Personally, I'm tired of playing compiler for you. You have an Arduino. Try the code on your Arduino.
but the comelier says nothing about a problem.
how are the variable names to be?
an how i can test a code on arduino without the loop... i don't get it
Incidentally, I still have no arduino
I want to be safe the with the program
before I buy one