pxt-calliope/docs/examples.md

74 lines
1.5 KiB
Markdown
Raw Normal View History

2017-02-09 23:44:56 +01:00
# Examples
Here are some fun programs for your @boardname@!
2017-02-10 02:40:21 +01:00
## Fun stuff
```codecard
[{
"name": "Blinky",
"description": "A blinking pattern of LEDs",
"url": "/examples/blinky",
2017-04-05 19:16:47 +02:00
"cardType": "example"
2018-09-10 22:15:05 +02:00
}, {
2017-02-10 02:40:21 +01:00
"name": "Rando",
2017-02-28 13:57:27 +01:00
"description": "Randomly blinking LEDs",
"url": "/examples/rando",
2017-04-05 19:16:47 +02:00
"cardType": "example"
2017-03-28 01:32:09 +02:00
},
{
"name": "Game of Life",
"description": "A Game of Life simulation in LEDs",
"url": "/examples/gameofLife",
2017-04-05 19:16:47 +02:00
"cardType": "example"
2018-03-14 16:50:45 +01:00
},
{
"name": "Pi Monte Carlo",
"description": "Approximate the number Pi",
"url": "/examples/pi-montecarlo",
2018-03-14 16:50:45 +01:00
"cardType": "example"
}]
2017-02-10 02:40:21 +01:00
```
2017-02-09 23:51:12 +01:00
## Sensors
2017-02-09 23:44:56 +01:00
```codecard
[{
"name": "Egg & Spoon Race",
2017-08-23 20:40:37 +02:00
"description": "Balance a micro:bit like an egg and spoon race",
"url": "/examples/egg-and-spoon",
2017-08-23 20:40:37 +02:00
"cardType": "example"
},{
2017-02-09 23:44:56 +01:00
"name": "Plot Acceleration",
"description": "Chart acceleration on the LED screen",
"url": "/examples/plot-acceleration",
2017-04-05 19:16:47 +02:00
"cardType": "example"
2017-02-09 23:44:56 +01:00
}, {
"name": "Plot Light Level",
"description": "Chart light level on the LED screen",
"url": "/examples/plot-light-level",
2017-04-05 19:16:47 +02:00
"cardType": "example"
2017-02-10 02:40:21 +01:00
}, {
"name": "Plot Analog Pin",
"description": "Chart analog input on the LED screen",
"url": "/examples/plot-analog-pin",
2017-04-05 19:16:47 +02:00
"cardType": "example"
2017-06-15 05:39:55 +02:00
}, {
"name": "Radio Dashboard",
"description": "A dashboard for radio clients",
"url": "/examples/radio-dashboard",
2017-06-15 05:39:55 +02:00
"cardType": "example"
2017-02-09 23:44:56 +01:00
}]
```
## Actuators
```codecard
[{
"name": "Servo Calibrator",
"description": "Calibrate a servo",
"url": "/examples/servo-calibrator",
2017-04-05 19:16:47 +02:00
"cardType": "example"
}]
2018-02-24 00:36:47 +01:00
```