EasyManua.ls Logo

Adafruit Feather M4 Express - Page 52

Adafruit Feather M4 Express
178 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
the board reboots. Then you'll see your new change!
The Traceback (most recent call last): is telling you the last thing your board was doing before you saved your file.
This is normal behavior and will happen every time the board resets. This is really handy for troubleshooting. Let's
introduce an error so we can see how it is used.
Delete the e at the end of True from the line led.value = True so that it says led.value = Tru
Save your file. You will notice that your red LED will stop blinking, and you may have a colored status LED blinking at
you. This is because the code is no longer correct and can no longer run properly. We need to fix it!
Usually when you run into errors, it's not because you introduced them on purpose. You may have 200 lines of code,
and have no idea where your error could be hiding. This is where the serial console can help. Let's take a look!
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51 Page 57 of 183

Table of Contents

Related product manuals