Author: shedboy71

img
Compass This module lets you access the built-in electronic compass. Before using, the compass should be calibrated, otherwise the readings may be wrong. Warning: Calibrating the compass will cause your program to pause until calibration is complete. Calibration consists of a little game to draw...

Accelerometer This object gives you access to the on-board accelerometer. The accelerometer also provides convenience functions for detecting gestures. The recognised gestures are: up, down, left, right, face up, face.

Buttons There are two buttons on the board, called button_a and button_b. Attributes button_a A Button instance representing the left button. button_b A Button instance representing the right button. Classes.

WARNING: Preprocessor macros, although tempting, can produce quite unexpected results if not done right. Always keep in mind that macros are textual substitutions done to your source code before anything is compiled. The compiler does not know anything about the macros and never gets to...
1 10 11 12 15
This div height required for enabling the sticky sidebar
Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views :