Circuit Python at Noisebridge
Circuit Python at Noisebridge
Welcome to this page, which will get you started with Circuit Python. You can do this any time, or with a group at Circuit Hacking Monday
Some links to get started:
- If you are new to Circuit Python, start here! https://learn.adafruit.com/welcome-to-circuitpython/
- We are using the `Lolin S2 Mini` board. Here's some information: https://circuitpython.org/board/lolin_s2_mini/
- Todbot has some fun code to play with, like synthesizers! https://gist.github.com/todbot/
Tips and Tricks
To see the names of the pins available, enter the REPL (using Mu or a terminal program import board dir(board)
For the LED library, pin 1 = IO1 and so forth...
It is possible that the silkscreen labels for pins 12 and 13 have been swapped. Test to make sure!
Lolin S2 Mini pinout
board.A0 board.IO3 board.BUTTON board.IO0 board.D0 board.IO5 board.D1 board.IO35 board.SCL board.D2 board.IO33 board.SDA board.D3 board.IO18 board.D4 board.IO16 board.D5 board.IO7 board.SCK board.D6 board.IO9 board.MISO board.D7 board.IO11 board.MOSI board.D8 board.IO13 board.IO1 board.IO10 board.IO12 board.IO14 board.IO15 board.LED board.IO17 board.IO2 board.IO21 board.IO34 board.IO36 board.IO37 board.IO38 board.IO39 board.IO4 board.IO40 board.IO6 board.IO8
Installing Circuit Python on Lolin S2 Mini boards
We have already done this for you! But you might need to do it again, or if you get your own boards, this is how we do it.
1. Install `esptool.py` from