pxt-calliope/docs/examples.md

1.5 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"
}]