pxt-calliope/docs/examples.md
2018-09-11 09:03:06 -07:00

2.0 KiB

Examples

Here are some fun programs for your @boardname@!

Fun stuff

[{
  "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

[{
  "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

[{
  "name": "Servo Calibrator",
  "description": "Calibrate a servo",
  "url": "/examples/servo-calibrator",
  "cardType": "example"
}]

Turtle graphics

[{
  "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"
}]