Indeed you are right, the switch has a 47k pull-up resistor.
This is needed further on in the code as an interupt. How can i change this piece of code to reflect when it goes HIGH instead of LOW. I thought it may be just a case of changing:
But it seems there is more to it than that? When MyButton=1, the LEDs just seem to cycle through there brightness levels.Code:While MyTimeOut<100 If MyButton=1 then ' Changed 0 to 1 MyNumber=MyNumber+1
Can you help??
Cheers,
Steve
Bookmarks