I am controlling the robot. Because of some kindda strange way the joypad gets disconnected. The last variables are stored, so the robot might move without a joypad. While I am struggling to get the robot respond again, the robot might get damaged.
It would be better to have a routine checking for a joypad, and disabling it’s actions while disconnected?
It uses a lot of memory… I’ve already got 2 timers. 1 for the data input of the joypad and 1 for the serial communication and the variables.
I will have a look how much memory it uses while running 2 timers.
Hmm… it uses only 5.428 K of memory in the task manager. (stable, no peaks) so that is pretty nice. :mrgreen: Maybe I could use a timer for this then 8)
Also, my powersupply should arrive today. I can’t wait to program the movements 8)
Thought it would be a good idea to keep you guys informed about the progress.
Currently working on a multi-thread application. This makes me able to control several actions via a background thread. I’m planning on running the robot almost completely via this thread.
Also, the joypad thing comes to life piece-by-piece. It should be able to control the robot via this soon.