2017-02-09 14:44:56 -08:00
|
|
|
# Examples
|
|
|
|
|
|
|
|
Here are some fun programs for your @boardname@!
|
|
|
|
|
2017-02-09 17:40:21 -08:00
|
|
|
## Fun stuff
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Blinky",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "A blinking pattern of LEDs",
|
2017-04-05 10:16:47 -07:00
|
|
|
"url":"/examples/blinky",
|
|
|
|
"cardType": "example"
|
2017-02-09 17:40:21 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Name Tag",
|
2017-02-28 04:57:27 -08:00
|
|
|
"description": "Scroll your name on the screen",
|
2017-04-05 10:16:47 -07:00
|
|
|
"url":"/examples/name-tag",
|
|
|
|
"cardType": "example"
|
2017-02-09 17:40:21 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Rando",
|
2017-02-28 04:57:27 -08:00
|
|
|
"description": "Randomly blinking LEDs",
|
2017-04-05 10:16:47 -07:00
|
|
|
"url":"/examples/rando",
|
|
|
|
"cardType": "example"
|
2017-03-27 16:32:09 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Game of Life",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "A Game of Life simulation in LEDs",
|
2017-04-05 10:16:47 -07:00
|
|
|
"url":"/examples/gameofLife",
|
|
|
|
"cardType": "example"
|
2018-03-14 08:50:45 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Pi Monte Carlo",
|
|
|
|
"description": "Approximate the number Pi",
|
2018-03-14 18:06:13 -07:00
|
|
|
"url": "/examples/pi-montecarlo",
|
2018-03-14 08:50:45 -07:00
|
|
|
"cardType": "example"
|
2017-03-27 16:32:09 -07:00
|
|
|
}
|
|
|
|
]
|
2017-02-09 17:40:21 -08:00
|
|
|
```
|
|
|
|
|
2017-02-09 14:51:12 -08:00
|
|
|
## Sensors
|
|
|
|
|
2017-02-09 14:44:56 -08:00
|
|
|
```codecard
|
|
|
|
[{
|
2017-08-23 11:40:37 -07:00
|
|
|
"name": "Egg & Spoon race",
|
|
|
|
"description": "Balance a micro:bit like an egg and spoon race",
|
|
|
|
"url":"/examples/egg-and-spoon",
|
|
|
|
"cardType": "example"
|
|
|
|
},{
|
2017-02-09 14:44:56 -08:00
|
|
|
"name": "Plot Acceleration",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "Chart acceleration on the LED screen",
|
2017-04-05 10:16:47 -07:00
|
|
|
"url":"/examples/plot-acceleration",
|
|
|
|
"cardType": "example"
|
2017-02-09 14:44:56 -08:00
|
|
|
}, {
|
|
|
|
"name": "Plot Light Level",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "Chart light level on the LED screen",
|
2017-04-05 10:16:47 -07:00
|
|
|
"url":"/examples/plot-light-level",
|
|
|
|
"cardType": "example"
|
2017-02-09 17:40:21 -08:00
|
|
|
}, {
|
|
|
|
"name": "Plot Analog Pin",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "Chart analog input on the LED screen",
|
2017-04-05 10:16:47 -07:00
|
|
|
"url":"/examples/plot-analog-pin",
|
|
|
|
"cardType": "example"
|
2017-05-24 08:47:19 -07:00
|
|
|
}, {
|
|
|
|
"name": "Stop Watch",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "Easily track time",
|
2017-05-24 08:47:19 -07:00
|
|
|
"url":"/examples/stop-watch",
|
|
|
|
"cardType": "example"
|
2017-06-14 20:39:55 -07:00
|
|
|
}, {
|
|
|
|
"name": "Radio Dashboard",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "A dashboard for radio clients",
|
2017-06-14 20:39:55 -07:00
|
|
|
"url":"/examples/radio-dashboard",
|
|
|
|
"cardType": "example"
|
2017-02-09 14:44:56 -08:00
|
|
|
}]
|
|
|
|
```
|
2017-03-26 21:22:40 -07:00
|
|
|
|
|
|
|
## Actuators
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Servo Calibrator",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "Calibrate a servo",
|
2017-04-05 10:16:47 -07:00
|
|
|
"url":"/examples/servo-calibrator",
|
|
|
|
"cardType": "example"
|
2017-03-26 21:22:40 -07:00
|
|
|
}]
|
2018-02-23 15:36:47 -08:00
|
|
|
```
|
|
|
|
|
|
|
|
## Turtle graphics
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Turtle Square",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "Move in a square",
|
2018-02-23 15:36:47 -08:00
|
|
|
"url":"/examples/turtle-square",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Turtle Spiral",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "Move in a spiral",
|
2018-02-23 15:36:47 -08:00
|
|
|
"url":"/examples/turtle-spiral",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Turtle Scanner",
|
2018-03-21 16:30:58 -07:00
|
|
|
"description": "Scan down the screen",
|
2018-02-23 15:36:47 -08:00
|
|
|
"url":"/examples/turtle-scanner",
|
|
|
|
"cardType": "example"
|
|
|
|
}]
|
2017-03-26 21:22:40 -07:00
|
|
|
```
|