Adjust Code
The original code from Carter's Triangle Time Thing learn guide will need to be modified slightly. The Feather Sense is mounted in a different orientation so the accelerometer coordinates will need to be changed in order to match the new position.
Look for line 42 in the code and update the following values to match the new coordinates.
# rotate coords xx = az - ay yy = az + ay zz = ax
Save the updated values to the code.py file using Mu editor or your preferred text editor. Make sure the code.py file has been updated on the CIRCUITPY drive.
Page last edited March 08, 2024
Text editor powered by tinymce.