0%

Book Description

From Adafruit Industries, a leader in products to Makers, designers, students young and old, comes the Circuit Playground Express. Connect it to your PC/Mac/Linux device, and you can be programming interactive projects in minutes. You have a choice of programming environments to choose from: Python, the Microsoft MakeCode graphical building block environment, C/C++ via the Arduino development environment and JavaScript.ment their ideas.

Table of Contents

  1. Titlepage
  2. Copyright
  3. Foreword
  4. Preface
    1. Who This Book Is For
    2. Preparation
    3. What You Will Want to Have on Hand
    4. Conventions Used in This Book
  5. Chapter 1: Introducing Circuit Playground Express
  6. Chapter 2: A Tour of Circuit Playground Express
    1. Circuit Playground Express Outputs
    2. Circuit Playground Express Inputs
    3. Powering Your Circuit Playground Express
    4. Operating System Software Setup
    5. Chapter Questions
  7. Chapter 3: Getting Started with Microsoft MakeCode
    1. Connecting a Circuit Playground Express to a Computer
    2. MakeCode: Your First Program
    3. Uploading MakeCode to Circuit Playground Express
    4. Modifying a Program
    5. Saving a Program
    6. Under the Hood: JavaScript
    7. Wrap-Up
    8. Chapter Questions
  8. Chapter 4: Microsoft MakeCode and Interactivity
    1. Using Buttons
    2. Shake, Rattle, and Roll
    3. Making the Accelerometer Display Multiple Animations
    4. Using the Slide Switch
    5. Your Turn: Slide Switch
    6. JavaScript
    7. Wrap-Up
    8. Chapter Questions
  9. Chapter 5: Advanced Microsoft MakeCode
    1. Sound and Music
    2. Listening for Sounds
    3. Wrap-Up
    4. Chapter Questions
  10. Chapter 6: Coding with CircuitPython
    1. CircuitPython vs. Other Python Implementations
    2. Installing CircuitPython
    3. Text Editors
    4. Eject or Sync the Drive after Writing
    5. Using Mu
    6. Creating Python Code
    7. Examining the CircuitPython Blink Code
    8. Output from Circuit Playground Express to the Computer
    9. The Adafruit Circuit Playground Express Library
    10. Running Code on Express via the REPL
    11. Wrap-Up
    12. Chapter Questions
  11. Chapter 7: Using the Circuit Playground Express CircuitPython Library
    1. Reading Sensors
    2. File Input and Output
    3. Capacitive Touch and Music
    4. Emulating a Computer USB Keyboard
    5. Mouse Emulation
    6. Wrap-Up
    7. Chapter Questions
  12. Chapter 8: Using the Arduino Development Environment
    1. The Arduino Programming Language
    2. Installing the Arduino IDE
    3. Structure of an Arduino Program
    4. Uploading Code to Circuit Playground Express
    5. The Circuit Playground Arduino Library
    6. Circuit Playground Library Functions
    7. Example Code
    8. Libraries and Compatibility
    9. Wrap-Up
    10. Chapter Questions
  13. Appendix A: Troubleshooting
    1. USB Cable and Power Issues
    2. Connectivity Issues
    3. CircuitPython Issues
    4. Arduino IDE Issues
    5. Common Arduino Library Problems
    6. Error Messages
    7. Usage Issues
    8. Manufacturer Support
  14. Appendix B: Reference Materials
    1. On the Internet
    2. Publications
  15. About the Author
  16. Index