hi. i have several problems with my project(hexapod walker).one is when the code jumps into an ISR when an interrupt occurs for the front sensor,it wont back in the main program.it will only jump into the ISR after that when the interrrupt pin is enabled. another problem does anyone know what F0 does.general purpose flag????
you call delay from both main and ISR. Just visualize that the interrupt happen while delay is executed from main Erik
i forced the timer overflow at the end of the ISR. the problem was it was jumping back into the delay and waiting. not thats solved. i need a way of keeping track of the motors position.