pxt-calliope/docs/examples.md

107 lines
2.2 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",
2017-04-05 19:16:47 +02:00
"url":"/examples/blinky",
"cardType": "example"
2017-02-10 02:40:21 +01:00
},
{
"name": "Name Tag",
2017-02-28 13:57:27 +01:00
"description": "Scroll your name on the screen",
2017-04-05 19:16:47 +02:00
"url":"/examples/name-tag",
"cardType": "example"
2017-02-10 02:40:21 +01:00
},
{
"name": "Rando",
2017-02-28 13:57:27 +01:00
"description": "Randomly blinking LEDs",
2017-04-05 19:16:47 +02:00
"url":"/examples/rando",
"cardType": "example"
2017-03-28 01:32:09 +02:00
},
{
"name": "Game of Life",
"description": "A Game of Life simulation in LEDs",
2017-04-05 19:16:47 +02:00
"url":"/examples/gameofLife",
"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-03-28 01:32:09 +02:00
}
]
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
[{
2017-08-23 20:40:37 +02: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 23:44:56 +01:00
"name": "Plot Acceleration",
"description": "Chart acceleration on the LED screen",
2017-04-05 19:16:47 +02:00
"url":"/examples/plot-acceleration",
"cardType": "example"
2017-02-09 23:44:56 +01:00
}, {
"name": "Plot Light Level",
"description": "Chart light level on the LED screen",
2017-04-05 19:16:47 +02:00
"url":"/examples/plot-light-level",
"cardType": "example"
2017-02-10 02:40:21 +01:00
}, {
"name": "Plot Analog Pin",
"description": "Chart analog input on the LED screen",
2017-04-05 19:16:47 +02:00
"url":"/examples/plot-analog-pin",
"cardType": "example"
2017-05-24 17:47:19 +02:00
}, {
"name": "Stop Watch",
"description": "Easily track time",
2017-05-24 17:47:19 +02:00
"url":"/examples/stop-watch",
"cardType": "example"
2017-06-15 05:39:55 +02:00
}, {
"name": "Radio Dashboard",
"description": "A dashboard for radio clients",
2017-06-15 05:39:55 +02:00
"url":"/examples/radio-dashboard",
"cardType": "example"
2017-02-09 23:44:56 +01:00
}]
```
## Actuators
```codecard
[{
"name": "Servo Calibrator",
"description": "Calibrate a servo",
2017-04-05 19:16:47 +02:00
"url":"/examples/servo-calibrator",
"cardType": "example"
}]
2018-02-24 00:36:47 +01:00
```
## Turtle graphics
```codecard
[{
"name": "Turtle Square",
"description": "Move in a square",
2018-02-24 00:36:47 +01:00
"url":"/examples/turtle-square",
"cardType": "example"
}, {
"name": "Turtle Spiral",
"description": "Move in a spiral",
2018-02-24 00:36:47 +01:00
"url":"/examples/turtle-spiral",
"cardType": "example"
}, {
"name": "Turtle Scanner",
"description": "Scan down the screen",
2018-02-24 00:36:47 +01:00
"url":"/examples/turtle-scanner",
"cardType": "example"
}]
```