Adafruit Feather M4 Express Manual page 53

Table of Contents

Advertisement

The
is telling you that the last thing it was able to run was line 10 in your code. The
Traceback (most recent call last):
next line is your error:
. This error might not mean a lot to you, but combined
NameError: name 'Tru' is not defined
with knowing the issue is on line 10, it gives you a great place to start!
Go back to your code, and take a look at line 10. Obviously, you know what the problem is already. But if you didn't,
you'd want to look at line 10 and see if you could figure it out. If you're still unsure, try googling the error to get some
help. In this case, you know what to look for. You spelled True wrong. Fix the typo and save your file.
Nice job fixing the error! Your serial console is streaming and your red LED Is blinking again.
The serial console will display any output generated by your code. Some sensors, such as a humidity sensor or a
thermistor, receive data and you can use print statements to display that information. You can also use print statements
for troubleshooting. If your code isn't working, and you want to know where it's failing, you can put print statements in
various places to see where it stops printing.
The serial console has many uses, and is an amazing tool overall for learning and programming!
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51
Page 58 of 183

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Feather M4 Express and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Adafruit Feather M4 Express

Table of Contents

Save PDF