Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

CircuitPython programming

dronecz edited this page Nov 20, 2022 · 2 revisions

What is CircuitPython?

CircuitPython is a programming language designed to simplify experimenting and learning to code on low-cost microcontroller boards. (quote from Circuipython.org). It is developed and maintain by Adafruit.

Main idea is that anybody is able to very quickly iterate with code development. Code file can be opened with most of the text editors and code is not compiled, but interpreted.

How board with CPY works?

There are 3 states which board can operate:

  • ROM bootloader mode
  • update CPY fw mode
  • normal mode

If you press and hold BOOT button and then press RESET button, you will enter into ROM bootloader mode, which is same as for uploading Arduino code.

If you double tap RESET button, you will enter into update CPY fw mode. Note: if this is not working at your board, you must flash combined.bin first!

If you turn on the board/plug USB cable in/press RESET button, board will enter normal mode and it will run code.py

How to flash Maker badge board?

Clone this wiki locally