|
Robot Controller reset issue when pwm value changes
I am having a troublesome issue. Whenever I have something in my code change the value of the pwm the controller seems to keep resetting non-stop. When it is in regular user mode it resets every couple of seconds. There is nothing touching the three prog/reset pins. It only does this when I change the value of the pwm or am in regular user mode. This does happen in auton as well when I change the pwm.
I have been trying to get interrupts to work with my gear tooth sensor and my friend has been working with the camera. I don't know exactly how long this has been doing this for. I have tried loading the default code to the bot again with no luck as well. Any help would be greatly appreciated, thank you.
|