To find the pin or pad suggested in the code, see the list below. For the boards that require wiring, wire up a switch
(also known as a tactile switch, button or push-button), following the diagram for guidance. Press or slide the switch,
and the onboard red LED will turn on and off.
Note that on the M0/SAMD based CircuitPython boards, at least, you can also have internal pulldowns with Pull.DOWN
and if you want to turn off the pullup/pulldown just assign switch.pull = None.
Find the pins!
The list below shows each board, explains the location of the Digital pin suggested for use as input, and the location of
the D13 LED.
Circuit Playground Express
We're going to use the switch, which is pin D7, and is
located between the battery connector and the reset
switch on the board. D13 is labeled D13 and is located
next to the USB micro port.
To use D7, comment out the current pin setup line, and
uncomment the line labeled for Circuit Playground
Express. See the details above!
Trinket M0
D2 is connected to the blue wire, labeled "2", and
located between "3V" and "1" on the board. D13 is
labeled "13" and is located next to the USB micro port.
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51
Page 106 of 183
Содержание Feather M4 Express
Страница 1: ...Adafruit Feather M4 Express Created by lady ada Last updated on 2019 03 04 10 41 14 PM UTC...
Страница 5: ...Adafruit Industries https learn adafruit com adafruit feather m4 express atsamd51 Page 10 of 183...
Страница 58: ...Adafruit Industries https learn adafruit com adafruit feather m4 express atsamd51 Page 63 of 183...
Страница 164: ...Adafruit Industries https learn adafruit com adafruit feather m4 express atsamd51 Page 169 of 183...
Страница 168: ...Adafruit Industries https learn adafruit com adafruit feather m4 express atsamd51 Page 173 of 183...