pxt-calliope/docs/examples.md
2018-09-09 21:24:50 -07:00

100 lines
2.1 KiB
Markdown

# Examples
Here are some fun programs for your @boardname@!
## Fun stuff
```codecard
[{
"name": "Blinky",
"description": "A blinking pattern of LEDs",
"url": "/examples/blinky",
"cardType": "example"
}{
"name": "Rando",
"description": "Randomly blinking LEDs",
"url": "/examples/rando",
"cardType": "example"
},
{
"name": "Game of Life",
"description": "A Game of Life simulation in LEDs",
"url": "/examples/gameofLife",
"cardType": "example"
},
{
"name": "Pi Monte Carlo",
"description": "Approximate the number Pi",
"url": "/examples/pi-montecarlo",
"cardType": "example"
}]
```
## Sensors
```codecard
[{
"name": "Egg & Spoon Race",
"description": "Balance a micro:bit like an egg and spoon race",
"url": "/examples/egg-and-spoon",
"cardType": "example"
},{
"name": "Plot Acceleration",
"description": "Chart acceleration on the LED screen",
"url": "/examples/plot-acceleration",
"cardType": "example"
}, {
"name": "Plot Light Level",
"description": "Chart light level on the LED screen",
"url": "/examples/plot-light-level",
"cardType": "example"
}, {
"name": "Plot Analog Pin",
"description": "Chart analog input on the LED screen",
"url": "/examples/plot-analog-pin",
"cardType": "example"
}, {
"name": "Stop Watch",
"description": "Easily track time",
"url": "/examples/stop-watch",
"cardType": "example"
}, {
"name": "Radio Dashboard",
"description": "A dashboard for radio clients",
"url": "/examples/radio-dashboard",
"cardType": "example"
}]
```
## Actuators
```codecard
[{
"name": "Servo Calibrator",
"description": "Calibrate a servo",
"url": "/examples/servo-calibrator",
"cardType": "example"
}]
```
## Turtle graphics
```codecard
[{
"name": "Turtle Square",
"description": "Move in a square",
"url": "/examples/turtle-square",
"cardType": "example"
}, {
"name": "Turtle Spiral",
"description": "Move in a spiral",
"url": "/examples/turtle-spiral",
"cardType": "example"
}, {
"name": "Turtle Scanner",
"description": "Scan down the screen",
"url": "/examples/turtle-scanner",
"cardType": "example"
}]
```