30a0d396f1
* Add some stuff to PI Monte Carlo * Spelling typo * Clarify ratio of dots
107 lines
2.2 KiB
Markdown
107 lines
2.2 KiB
Markdown
# Examples
|
|
|
|
Here are some fun programs for your @boardname@!
|
|
|
|
## Fun stuff
|
|
|
|
```codecard
|
|
[{
|
|
"name": "Blinky",
|
|
"description": "A blinking LED",
|
|
"url":"/examples/blinky",
|
|
"cardType": "example"
|
|
},
|
|
{
|
|
"name": "Name Tag",
|
|
"description": "Scroll your name on the screen",
|
|
"url":"/examples/name-tag",
|
|
"cardType": "example"
|
|
},
|
|
{
|
|
"name": "Rando",
|
|
"description": "Randomly blinking LEDs",
|
|
"url":"/examples/rando",
|
|
"cardType": "example"
|
|
},
|
|
{
|
|
"name": "Game of Life",
|
|
"description": "Simulation in LEDs. Use button A for next stage. Button B for reset.",
|
|
"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": "easy time tracking",
|
|
"url":"/examples/stop-watch",
|
|
"cardType": "example"
|
|
}, {
|
|
"name": "Radio Dashboard",
|
|
"description": "dashboard for radio clients",
|
|
"url":"/examples/radio-dashboard",
|
|
"cardType": "example"
|
|
}]
|
|
```
|
|
|
|
## Actuators
|
|
|
|
```codecard
|
|
[{
|
|
"name": "Servo Calibrator",
|
|
"description": "calibrates 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": "scans the screen down",
|
|
"url":"/examples/turtle-scanner",
|
|
"cardType": "example"
|
|
}]
|
|
``` |