After a ‘safe’ project last year I wanted to try something new and decided to use an LDR. I was initially worried about ‘variables’ and ‘debug’ and was scared this would be so hard…. When actually it wasnt! ….. and wish now I had used it last year to make my project much more exciting.
For some reason my red light was flashing constantly for no reason, I tried to alter my programme to keep the red light off when it is light. However this did not work and red light was constantly on until it went dark and my program would work. I thought that maybe thAT when I swapped the header over after programming that the power was going straight to the led? .....
I then discovered that if I took out the debug from my program this seemed to stop keeping the red light on?
I then discovered that if I took out the debug from my program this seemed to stop keeping the red light on?