I want to use a byte variable i to execute a bit of code 256 times. The line below loops indefinitely, is there a tidy alternative that would work?
for (i = 0; i < 255; i++){
Hopefully without using:
- a 16 bit variable, (or any extra bits at all)
- nested loops
while(1)break;statements
Thanks
1 Answer