Trying to modify the Forward100Pulses.bs2 program for the sumobot
fullmetal 25
Posts: 1
I am doing the project listed in chapter 2 of the Applied Robotics with the Sumobot manual which is project number 1. This project involves using the techniques from activity #5 in ch. 2 to make an adjustable version of Forward100Pulses.bs2 from ch. 1, activity #1. I have to make it where I can select between 6 different distances ranging from 100 to 500 in steps of 100 and infinite loop mode. I'm not sure what infinite loop mode is and I'm trying to figure out how to combine these two programs into a workable one. If anyone can help me with this it would be most appreciated.
Comments
"What's a Microcontroller?" goes into some detail about the FOR / NEXT statements which are what you need to use to produce specific numbers of servo control pulses. First get a program that can move your robot different distances. By then it should be pretty clear how to combine several different movements in one program.
Remember that "help" here means pointing you to appropriate tutorials and examples so you'll learn how to do what you need. You have to do the work. It's not hard. If you work through the exercises in "What's a Microcontroller?", you'll have learned much of what you'll need to program the Stamp.