This shows you the differences between two versions of the page.
|Both sides previous revision Previous revision||Last revision Both sides next revision|
oak:tutorials:rollingball [2016/04/11 05:53]
nog3 [Code:] Added Particle.publish() example.
oak:tutorials:rollingball [2016/04/11 05:55]
|Line 120:||Line 120:|
|+||Tilt switches are a very simple analog way of checking if something has tilted. They can be used to detect basic movement but are very sensitive and don't like vibrations. Always make sure to debounce them with pullup resistors and if you find them too sensitive, debouncing code. [[https://www.arduino.cc/en/Tutorial/Debounce|The arduino debouncing tutorial]] is a good primer on this.|