Following Thingy arduino code

arduino code that controls two motors based on compass reading

Following Thingy arduino code

Click the link above to download the arduino code. The code controls two motors by varying speeds (mapping the speed of the motors from high to low based on the compass reading’s deviation from 0 degrees), attempting to always position the compass reading at 0 degrees.

Leave a Reply

Your email address will not be published. Required fields are marked *