Sample Chapter Downloads:
Sample Page Downloads:
Sample Code Downloads:
-
Chapter 6:
- Serial Keyboard Input Munction (SKIF) module. You can add this module to any sketch to provide human inputs via the keyboard.
- Code as text (Click to open text file and then copy and paste into your sketch.)
- Code as *.ino sketch (Right-click here and save file to your computer.)
-
Chapter 8:
- Random Number Module. You can add this module to any sketch to provide easy access to random numbers — integers and floating-point numbers!
- Code as text (Click to open text file and then copy and paste into your sketch.)
- Code as *.ino sketch (Right-click here and save file to your computer.)
-
Chapter 19:
- Robot Motion Sketch. The code below is directly from my textbook and is the stand-alone, compile-able. It is not a module but can be turned into one, as explained in the textbook.
- Code as text (Click to open text file and then copy and paste into your sketch.)
- Code as *.ino sketch (Right-click here and save file to your computer.)
- Servo Motion Module. You can add this to any sketch to provide servo-control for your wheeled robot.
- Code as text (Click to open text file and then copy and paste into your sketch.)
- Code as *.ino sketch (Right-click here and save file to your computer.)
-
Extras:
- Basic 4×4 Keypad Entry Sketch and Keypad Library. The code below is not associated with my textbook, but is a stand-alone compileable sketch. You need to use the ZIP file below to install the library, as explained in the code file.
- You can see a movie of the keypad in action here: https://youtu.be/z23NBNDMvt8
- Download and install this library: Keypad.ZIP (Right-click here and save file to your computer.)
- Code and Arduino simulator at Tinkercad
- Code as text (Click to open text file and then copy and paste into your sketch.)
- Code as *.ino sketch (Right-click here and save file to your computer.)