I have 2 programs made for my arduino.The first one is for solving a maze automatically and the second one is for controlling the robot with a android app.I wanted to control the robot with the app I made as soon as it has finished solving the maze. Is it possible to upload both the program in the arduino and run it one at a time?If so can you tell me how?
|
Once I made a sketch to run multiple programs. I wrote a In my application I choose the program at startup with a 3-dipswitch, but you can easily switch this to allow "on the fly" switching. I choose to use a callback because it's faster than just checking the mode every time, at least in my case
|
|||||
|