![Adafruit Feather M4 Express Manual Download Page 53](http://html1.mh-extra.com/html/adafruit/feather-m4-express/feather-m4-express_manual_2845857053.webp)
The
Traceback (most recent call last):
is telling you that the last thing it was able to run was line 10 in your code. The
next line is your error:
NameError: name 'Tru' is not defined
. This error might not mean a lot to you, but combined
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