Releases: adafruit/circuitpython
First Beta Release
This is the first beta release of MicroPython support for Adafruit educational development boards. All APIs are in flux so expect some things to change in the future.
- Supports Arduino Zero
- Basic support for all Feather M0s through the
feather_m0_basic
firmware. - Supports ADC, DAC, I2C and SPI through
machine
. (Soon to change) - Supports REPL over USB.
- Runs
boot.py
andmain.py
from internal flash on reset. - Loading to internal flash supported via Mass Storage over USB. Make sure to eject and do not write to the file system from Python at the same time.
To use, load using bossac when the board's bootloader is active (double click to activate):
bossac_osx -e -w -v -b -R adafruit-micropython-feather_m0_basic-1.8.4-20161014.bin
v1.8.3-62-g09be96a
Add basic file system support.
>>> import os
>>> os.listdir()
['main.py', 'README.txt', 'boot.py']
See here for flashing instructions. These releases support SAMD21x18 boards including the Arduino Zero (available from Adafruit) and Adafruit Feather M0 Bluefruit LE.
v1.8.3-61-g559434a
This is the second pre-release of MicroPython for SAMD21x18 boards including the Arduino Zero (available from Adafruit) and Adafruit Feather M0 Bluefruit LE.
It adds float support! So, time.sleep(0.5)
works.
See here for flashing instructions.
v1.8.3-59-g1725710
This is the first pre-release of MicroPython for SAMD21x18 boards including the Arduino Zero (available from Adafruit) and Adafruit Feather M0 Bluefruit LE.
See here for flashing instructions.
This first pre-release supports REPL over USB (native USB for the Arduino Zero), digital IO, time, and analog IO.
Here is how to flash an LED. Type in each line separately and make sure to match the indentation.
import machine
import time
led = machine.Pin("D13", machine.Pin.OUT)
for i in range(100):
led.value(i % 2 == 0)
time.sleep_ms(200)
After typing the last line you will get another indented line, simply hit backspace to delete the indentation and hit enter to start the flashing.