From the course: Learning CircuitPython with Circuit Playground Express
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Meet the REPL - Python Tutorial
From the course: Learning CircuitPython with Circuit Playground Express
Meet the REPL
- [Instructor] So far, communication with the Circuit Playground Express has been one way. We've written programs, saved them, and watched them run. But it turns out that the Circuit Playground Express board can also communicate back through USB to your desktop. This serial communication also enables an interactive mode called a REPL, which stands for read, evaluate, print loop. Using the REPL, you can easily experiment with CircuitPython without uploading a program. You can access the serial connection several ways but there's a CircuitPython package for Atom that makes it easy. Let's go to the desktop to acquaint ourselves with the serial connection and the REPL. We'll start out by opening up Atom and making it full screen. You can see that we have our Circuit Playground Express connected and it's using the speed up link program. The first thing I need to do is install the CircuitPython package so that we can…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.