← Back to Getting Started with CircuitPython

Send Input to Your Board

Step 5

Sending input

The console works in both directions. The code below calls Python's input(), which pauses the program and waits for you to type something and press Enter, just like it would on a regular computer.

Click Connect, then Run on Device. When the question shows up in the console, type your answer into the box below it and press Enter (or click Send). The board reads what you typed and prints a response back.

code.py
Disconnected