27404 Parallax Inc, 27404 Datasheet - Page 257

COMPETITION RING FOR SUMOBOT

27404

Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 27404

Accessory Type
Hobby and Education
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
SUMMARY
This chapter introduced three techniques to help find the cause(s) of SumoBot problem
behaviors: (1) LED signals, (2) debugging routines, and (3) datalogging a sumo round.
Conditional compiler directives were applied to all these techniques, so that you can
change one or two values at the beginning of the program to either include or exclude
your conditional LED/debugging/datalogging code from the program.
Questions
Exercises
1. What are the five steps in the Scientific Method?
2. How can one line of code signal the occurrence of an event with an LED?
3. What are the advantages of turning and leaving the LED on when an event
4. What is branching?
5. What is conditional compiling?
6. What are some examples of things you can use
7. What's the difference between
8. Is it possible to put constant declarations and
9. Which two bits of the
10. What key features are missing that might prevent you from finding a bug while
11. What are some examples of changes that had to be made to the conditional
12. What's the purpose of the
13. What role does the
14. How does the
1. Add LED events to the
2. Write conditional compiler directives to add IR interference testing to
3. Calculate how many records you can store with addresses $10 to $24F.
occurs?
compiler directives, or just PBASIC commands?
the SumoBot is connected to the serial cable displaying information on the
Debug Terminal?
compiler directives in SumoWrestlerWithPlayback.bs2?
circumstances does that code get executed?
SumoWrestlerWithDatalogMode.bs2?
start and end of each of its maneuvers.
SumoWrestlerWithDebugMode.bs2.
temp
temp
sensors
variable store more than one value in the program
Track_Front_Left_Object
variable play in logging data?
SELECT...CASE
variable are available if you want to add sensors?
Playback_Round
and
#DEFINE
DATA
#SELECT...#CASE
routine, and under what
subroutine that signal the
directives in conditional
to do?
?

Related parts for 27404