Hardware Reference
In-Depth Information
playMelody()
playFile()
tempoWrite()
tuneWrite()
robotNameWrite()
robotNameRead()
userNameWrite()
userNameRead()
cityNameWrite()
cityNameRead()
countryNameWrite()
countryNameRead()
beginTFT()
beginSD()
drawBMP()
displayLogos()
clearScreen()
text()
debugPrint()
drawCompass()
parseCommand()
process()
The hardware needed to use these functions includes:
Arduino Robot
2 x TinkerKit connection cables and digital inputs
Arduino Esplora (presented and programmed in Chapter 21)
You can i nd the code download for this chapter at http://www.wiley.com/
go/arduinosketches on the Download Code tab. The code is in the Chapter 22
folder and the i lename is Chapter22.ino .
Introducing Robot Library
Over the years, there have been several attempts to teach programming lan-
guages to children. Teachers and governments wanted to show children that
programming isn't magic, and that simple logic is all that was required. The
 
Search WWH ::




Custom Search