Datasheet
70
70
70
70
70
70
70
70
71
72
74
75
75
75
75
76
76
80
80
80
80
81
85
85
85
85
85
86
90
91
91
93
94
94
94
95
99
99
100
100
101
102
104
104
105
106
107
107
107
CircuitPython Built-Ins
Thing That Are Built In and Work
Flow Control
Math
Tuples, Lists, Arrays, and Dictionaries
Classes, Objects and Functions
Lambdas
Random Numbers
CircuitPython Digital In & Out
Find the pins!
Read the Docs
CircuitPython Analog In
Creating the analog input
get_voltage Helper
Main Loop
Changing It Up
Wire it up
CircuitPython Analog Out
Creating an analog output
Setting the analog output
Main Loop
Find the pin
CircuitPython PWM
PWM with Fixed Frequency
Create a PWM Output
Main Loop
PWM Output with Variable Frequency
Wire it up
Where's My PWM?
CircuitPython Servo
Servo Wiring
Servo Code
CircuitPython Cap Touch
Create the Touch Input
Main Loop
Find the Pin(s)
CircuitPython Internal RGB LED
Create the LED
Brightness
Main Loop
Making Rainbows (Because Who Doesn't Love 'Em!)
Circuit Playground Express Rainbow
CircuitPython NeoPixel
Wiring It Up
The Code
Create the LED
NeoPixel Helpers
Main Loop
NeoPixel RGBW
© Adafruit Industries https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino Page 4 of 184