shelleycat:
I can only suggest you read a book on C or C++, however as far as your code goes:int blinkmodeon = 1; // sets blinkmodeon to the integer value 1
while (blinkmodeon == '1') // compares blinkmodeon to the character '1', i.e. the byte value 0x49If you feel up to it, have a look at the blinkwithoutdelay example in the reference.
Considering that I don't have all the time in the universe (it's really a science project, and I have a form of a time limit), I will attempt to understand C++, but it will take me a while.
Oh, and the problem for me is that when I make the integer blinkmodeon, the while loop doesn't seem to care and just ignores it, therefore making the LED not blink.
Could you at least tell me which part of the code (that is not supposed to be there or missing) is not making the while loop work? ![]()