pxt-calliope/docs/examples.md

107 lines
2.2 KiB
Markdown
Raw Normal View History

2017-02-09 14:44:56 -08:00
# Examples
Here are some fun programs for your @boardname@!
2017-02-09 17:40:21 -08:00
## Fun stuff
```codecard
[{
"name": "Blinky",
"description": "A blinking pattern of LEDs",
2017-04-05 10:16:47 -07:00
"url":"/examples/blinky",
"cardType": "example"
2017-02-09 17:40:21 -08:00
},
{
"name": "Name Tag",
2017-02-28 04:57:27 -08:00
"description": "Scroll your name on the screen",
2017-04-05 10:16:47 -07:00
"url":"/examples/name-tag",
"cardType": "example"
2017-02-09 17:40:21 -08:00
},
{
"name": "Rando",
2017-02-28 04:57:27 -08:00
"description": "Randomly blinking LEDs",
2017-04-05 10:16:47 -07:00
"url":"/examples/rando",
"cardType": "example"
2017-03-27 16:32:09 -07:00
},
{
"name": "Game of Life",
"description": "A Game of Life simulation in LEDs",
2017-04-05 10:16:47 -07:00
"url":"/examples/gameofLife",
"cardType": "example"
2018-03-14 08:50:45 -07:00
},
{
"name": "Pi Monte Carlo",
"description": "Approximate the number Pi",
"url": "/examples/pi-montecarlo",
2018-03-14 08:50:45 -07:00
"cardType": "example"
2017-03-27 16:32:09 -07:00
}
]
2017-02-09 17:40:21 -08:00
```
2017-02-09 14:51:12 -08:00
## Sensors
2017-02-09 14:44:56 -08:00
```codecard
[{
2017-08-23 11:40:37 -07: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 14:44:56 -08:00
"name": "Plot Acceleration",
"description": "Chart acceleration on the LED screen",
2017-04-05 10:16:47 -07:00
"url":"/examples/plot-acceleration",
"cardType": "example"
2017-02-09 14:44:56 -08:00
}, {
"name": "Plot Light Level",
"description": "Chart light level on the LED screen",
2017-04-05 10:16:47 -07:00
"url":"/examples/plot-light-level",
"cardType": "example"
2017-02-09 17:40:21 -08:00
}, {
"name": "Plot Analog Pin",
"description": "Chart analog input on the LED screen",
2017-04-05 10:16:47 -07:00
"url":"/examples/plot-analog-pin",
"cardType": "example"
2017-05-24 08:47:19 -07:00
}, {
"name": "Stop Watch",
"description": "Easily track time",
2017-05-24 08:47:19 -07:00
"url":"/examples/stop-watch",
"cardType": "example"
2017-06-14 20:39:55 -07:00
}, {
"name": "Radio Dashboard",
"description": "A dashboard for radio clients",
2017-06-14 20:39:55 -07:00
"url":"/examples/radio-dashboard",
"cardType": "example"
2017-02-09 14:44:56 -08:00
}]
```
## Actuators
```codecard
[{
"name": "Servo Calibrator",
"description": "Calibrate a servo",
2017-04-05 10:16:47 -07:00
"url":"/examples/servo-calibrator",
"cardType": "example"
}]
2018-02-23 15:36:47 -08:00
```
## Turtle graphics
```codecard
[{
"name": "Turtle Square",
"description": "Move in a square",
2018-02-23 15:36:47 -08:00
"url":"/examples/turtle-square",
"cardType": "example"
}, {
"name": "Turtle Spiral",
"description": "Move in a spiral",
2018-02-23 15:36:47 -08:00
"url":"/examples/turtle-spiral",
"cardType": "example"
}, {
"name": "Turtle Scanner",
"description": "Scan down the screen",
2018-02-23 15:36:47 -08:00
"url":"/examples/turtle-scanner",
"cardType": "example"
}]
```