pxt-calliope/docs/examples.md

74 lines
1.5 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": "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"
}]
```