pxt-calliope/docs/examples.md

100 lines
2.1 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 06:24:50 +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-05-24 17:47:19 +02:00
}, {
"name": "Stop Watch",
"description": "Easily track time",
"url": "/examples/stop-watch",
2017-05-24 17:47:19 +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
```
## Turtle graphics
```codecard
[{
2018-02-24 00:36:47 +01:00
"name": "Turtle Square",
"description": "Move in a square",
"url": "/examples/turtle-square",
2018-02-24 00:36:47 +01:00
"cardType": "example"
}, {
"name": "Turtle Spiral",
"description": "Move in a spiral",
"url": "/examples/turtle-spiral",
2018-02-24 00:36:47 +01:00
"cardType": "example"
}, {
"name": "Turtle Scanner",
"description": "Scan down the screen",
"url": "/examples/turtle-scanner",
2018-02-24 00:36:47 +01:00
"cardType": "example"
}]
```