hi
i have ported a c code to basic for 8 bit binary counter but my code is not working as original one can some one help me to fix this i will uploaded both original and ported code with simulation file
regards
Just realize that baniary counting represents complex math with imaginary bits of information, so very hard to explain.
int main(void) { volatile unsigned char i = 0; while(1) i++; }
But the imaginary task that follows is how to get your ticking 8-bit variable to be presented as binary on 8 LEDs mapped to port pin 0..7 :)