i have coded a counter it works fine itself, but i made it start from 100 and want it to count to 0. now it shows : 100 990 980 970 ...
How do i make it show 100, 99, 98...
i have coded a counter it works fine itself, but i made it start from 100 and want it to count to 0. now it shows : 100 990 980 970 ...
How do i make it show 100, 99, 98...
Without your code that is difficult to say. Normally you would lower the counter, eg. like:
counter=100;
loop() {
counter = counter - 1;
// display counter
}
I have written a Blog article on this with some examples. Did you see that?