A helper function for displaying the compass on the TFT. Relies on Robot.beginTFT(). drawCompass() uses debugPrint(), which can't be used in the same sketch.
Mind where you draw text and other graphic elements when using
drawCompass() so that you don;t overlap elements.
degrees: int between 0 and 359. Typically it's determined by Robot.compassRead().
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.