source: trunk/Arduino/libraries/Adafruit_Circuit_Playground/examples/Hello_CircuitPlayground/README.md

Last change on this file was 3, checked in by markus, 7 years ago

Setup project structure

File size: 2.2 KB
Line 
1# Hello Circuit Playground
2A set of very basic example sketches to demonstrate the various components
3of the [Circuit Playground](https://www.adafruit.com/products/3000).
4These sketches were tested and verified with:
5* Circuit Playground Developer Edition
6* Ubuntu 16.04 LTS
7* Arduino IDE 1.6.11
8* Adafruit AVR Boards 1.4.9
9* Adafruit Circuit Playground Library 1.6.1
10
11## Hello_Blink
12Blinks the little red LED next to the micro USB connector once per second.
13
14## Hello_SlideSwitch
15The position (+ or -) of the slide switch is sent to the serial monitor once
16per second.
17```
18Slide Switch: -
19Slide Switch: +
20Slide Switch: +
21```
22
23## Hello_Buttons
24The position (UP or DOWN) of the two push buttons are sent to the serial
25monitor once per second.
26```
27Left Button:   UP   Right Button:   UP
28Left Button: DOWN   Right Button:   UP
29Left Button:   UP   Right Button:   UP
30Left Button:   UP   Right Button: DOWN
31```
32
33## Hello_LightSensor
34The reading (0-1023) from the light sensor is sent to the serial monitor once
35per second.
36```
37Light Sensor: 962
38Light Sensor: 954
39Light Sensor: 275
40Light Sensor: 192
41Light Sensor: 688
42```
43
44## Hello_Temperature
45The temperature is sent to the serial monitor once per second.
46```
47tempC: 28.25  tempF: 83.02
48tempC: 29.71  tempF: 85.64
49tempC: 30.72  tempF: 87.30
50tempC: 31.85  tempF: 89.32
51```
52
53## Hello_Accelerometer
54The readings (in m/s<sup>2</sup>) from the 3 axes of the accelerometer are sent
55to the serial monitor once per second. (1G ~= 9.8 m/s<sup>2</sup>)
56```
57X: -0.33  Y: 2.41  Z: 9.40
58X: -1.25  Y: 4.20  Z: 1.86
59X: -7.95  Y: -3.50  Z: -2.47
60X: 0.11  Y: -8.38  Z: 2.25
61X: -2.28  Y: 2.73  Z: 9.10
62```
63
64## Hello_SoundSensor
65The reading (0-1023) from the sound sensor (microphone) is sent to the serial
66monitor once per second.
67```
68Sound Sensor: 339
69Sound Sensor: 339
70Sound Sensor: 1023
71Sound Sensor: 10
72Sound Sensor: 15
73Sound Sensor: 1023
74Sound Sensor: 336
75```
76
77## Hello_Speaker
78Plays a 500Hz tone for 0.1 seconds on the speaker, followed by 1 second of
79silence.
80
81## Hello_NeoPixels
82Clears all pixels for 0.5 seconds then displays colors on the fist 5 pixels
83using individual 8-bit values and the same colors on the next 5 pixels using
8424-bit values. After 5 seconds, this repeats.
Note: See TracBrowser for help on using the repository browser.