Hi, I'm Eleni, a high school student :) In my technology class, we are required to participate in a robotics competition in three catergories, two of which I am already sufficient in, but the third...not so much. I'm not very savvy at coding (PICAXE), and my robot is 5.25x7.25 inches, and we're only allowed to use touch sensors to help it get through the "maze" (the set-up is an attachment). I understand the basics of coding, but I'm pretty lost...I would greatly appreciate some help, as it's due tomorrow. Thanks! :D
I understand the very basics of coding, as in how to make a robot go forwards, backwards, or turn. The parts I do not understand have to do with using the touch sensors to control the robot’s actions. I need the robot to hit at least four of the blocks. How do you use the touch sensors (2, one on the front and one on the back of my robot) to control the actions of the robot (forwards, backwards, turn)?
Again, please let me know if any clarificaton is needed. Thanks!
The code simulates as pasted. I can’t imagine it doing anything very useful, but, that is just what I can gather from a quick glance. Also, I don’t know where your touch sensor is connected, but, based on the simulator it needs to be on pin c.1
Update: Max pointed out that I missed the Goto Main at the end of the program. Add that to what I posted and you will have what you posted here.