Home
Adafruit
Microcontrollers
Feather M4 Express
Adafruit Feather M4 Express User Manual
4
of 1
of 1 rating
178 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
Metro M
0 Expres
s and M
etro M4
Express
D2 is loc
ated nea
r the top
left corne
r, and is
connecte
d
to the bl
ue wire. D
13 is lab
eled "L"
and is loc
ated nex
t to
the USB
micro po
rt.
Read t
he Doc
s
For a mo
re in-de
pth look a
t what
digita
lio
can do, che
ck out
the
D
igitalInOut
p
age in Re
ad the
Docs
(https
://adafru.i
t/C4c)
.
© Adafru
it Industrie
s
https://lea
rn.adafrui
t.com/ada
fruit-feathe
r-m4-exp
ress-atsam
d51
Page 108
of 1
83
102
104
Table of Contents
Power Pins
6
Logic Pins
6
QSPI Flash and Neopixel
8
Other Pins
9
Debugging Interface
9
Header Options
10
Soldering in Plain Headers
13
Soldering on Female Header
16
Power Management
20
Battery + USB Power
20
Power Supplies
21
Measuring Battery
21
Enable Pin
22
Alternative Power Options
22
Arduino IDE Setup
24
Using with Arduino IDE
27
Install SAMD Support
27
Install Adafruit SAMD
27
Successful Upload
31
Compilation Issues
32
Manually Bootloading
32
What Is Circuitpython
34
Circuitpython Is Based on Python
34
Why Would I Use Circuitpython
34
Set up Circuitpython Quick Start
36
Further Information
38
Installing Mu Editor
39
Creating and Editing Code
42
Creating Code
42
Editing Code
44
Use an Editor that Writes out the File Completely When You Save It
44
Eject or Sync the Drive after Writing
45
Exploring Your First Circuitpython Program
46
More Changes
48
Naming Your Program File
48
Connecting to the Serial Console
49
Are You Using Mu
49
Using Something else
50
Interacting with the Serial Console
51
Returning to the Serial Console
57
Circuitpython Libraries
59
Installing the Circuitpython Library Bundle
59
Example Files
60
Library Install on Non-Express Boards
62
Updating Circuitpython Libraries/Examples
63
Frequently Asked Questions
64
Install Putty
77
Troubleshooting
82
CIRCUITPY Drive Does Not Appear
84
Serial Console in Mu Not Displaying Anything
84
Circuitpython RGB Status Light
84
CIRCUITPY Drive Issues
85
Old Way: for Non-Express Boards Without a UF2 Bootloader (Feather M0 Basic Proto, Feather Adalogger, Arduino Zero)
87
Running out of File Space on Non-Express Boards
87
Uninstalling Circuitpython
91
Backup Your Code
91
Moving to Makecode
91
Moving to Arduino
92
Welcome to the Community
94
Adafruit Discord
94
Adafruit Forums
95
Adafruit Github
96
Circuitpython Essentials
98
Circuitpython Built-Ins
99
Thing that Are Built in and Work
99
Find the Pins
101
Circuitpython Analog in
104
Creating the Analog Input
104
Circuitpython Analog out
109
Creating an Analog Output
109
Setting the Analog Output
109
Find the Pin
110
Circuitpython PWM
114
Circuitpython Servo
120
Servo Wiring
120
Circuitpython Internal RGB LED
123
Create the LED
123
Circuit Playground Express Rainbow
126
Circuitpython Neopixel
128
Neopixel Helpers
131
Neopixel RGBW
131
Circuitpython Dotstar
134
Dotstar Helpers
138
Circuitpython UART Serial
140
Trinket M0: Create UART before I2C
145
Find Your Sensor
150
I2C Sensor Data
151
Circuitpython HID Keyboard and Mouse
155
Circuitpython Keyboard Emulator
155
Create the Objects and Variables
156
The Main Loop
157
Circuitpython Mouse Emulator
157
Circuitpython HID Mouse Helpers
159
Circuitpython Storage
161
Logging the Temperature
162
Circuitpython CPU Temp
165
Circuitpython Expectations
166
Switching between Circuitpython and Arduino
166
The Difference between Express and Non-Express Boards
166
Non-Express Boards: Gemma and Trinket
166
Differences between Circuitpython and Micropython
167
Differences between Circuitpython and Python
167
UF2 Bootloader Details
169
Entering Bootloader Mode
169
Using the Mass Storage Bootloader
171
Using the BOSSA Bootloader
172
Running Bossac on the Command Line
174
Updating the Bootloader
175
Getting Rid of Windows Pop-Ups
176
Making Your Own UF2
177
Installing the Bootloader on a Fresh/Bricked Board
177
4
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Adafruit Feather M4 Express and is the answer not in the manual?
Ask a question
Adafruit Feather M4 Express Specifications
General
Brand
Adafruit
Model
Feather M4 Express
Category
Microcontrollers
Language
English
Related product manuals
Adafruit Feather HUZZAH ESP8266
53 pages
Adafruit ESP32-S3
263 pages