2017-06-29 16:47:26 +02:00
|
|
|
# Examples
|
|
|
|
|
|
|
|
Here are some fun programs for your @boardname@!
|
|
|
|
|
2018-02-14 17:56:12 +01:00
|
|
|
## Maker
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "Sound Of Color",
|
|
|
|
"description": "Play different sounds based on the color",
|
|
|
|
"url":"/maker/sound-of-color",
|
|
|
|
"cardType": "example",
|
|
|
|
"imageUrl": "/static/maker/sound-of-color.png"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Security Gadget",
|
|
|
|
"description": "Raise the alarm when your brick is lifted!",
|
|
|
|
"url":"/maker/security-gadget",
|
|
|
|
"cardType": "example",
|
|
|
|
"imageUrl": "/static/maker/security-gadget.png"
|
|
|
|
},
|
|
|
|
{
|
2018-04-11 18:31:53 +02:00
|
|
|
"name": "Movement Detector",
|
|
|
|
"description": "Raise the alarm when an movement sneaks in",
|
|
|
|
"url":"/maker/movement-detector",
|
2018-02-14 17:56:12 +01:00
|
|
|
"cardType": "example",
|
2018-04-11 18:31:53 +02:00
|
|
|
"imageUrl": "/static/maker/movement-detector.png"
|
2018-02-14 17:56:12 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Puppet",
|
|
|
|
"description": "Build an automated puppet",
|
|
|
|
"url":"/maker/puppet",
|
|
|
|
"cardType": "example",
|
|
|
|
"imageUrl": "/static/maker/puppet.png"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Three Point Turn
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "Three Point Turn 1",
|
|
|
|
"description": "Activity 1",
|
|
|
|
"url":"/coding/three-point-turn-1",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Three Point Turn 2",
|
|
|
|
"description": "Activity 2",
|
|
|
|
"url":"/coding/three-point-turn-2",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Three Point Turn 3",
|
|
|
|
"description": "Activity 3",
|
|
|
|
"url":"/coding/three-point-turn-3",
|
|
|
|
"cardType": "example"
|
|
|
|
}]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Reversing the robot
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Reversing the robot 1",
|
|
|
|
"description": "Activity 1",
|
|
|
|
"url":"/coding/reversing-the-robot-1",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Reversing the robot 2",
|
|
|
|
"description": "Activity 2",
|
|
|
|
"url":"/coding/reversing-the-robot-2",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Reversing the robot 3",
|
|
|
|
"description": "Activity 3",
|
|
|
|
"url":"/coding/reversing-the-robot-3",
|
|
|
|
"cardType": "example"
|
|
|
|
}]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Light the way
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Light the way 1",
|
|
|
|
"description": "Activity 1",
|
|
|
|
"url":"/coding/light-the-way-1",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Light the way 2",
|
|
|
|
"description": "Activity 2",
|
|
|
|
"url":"/coding/light-the-way-2",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Light the way 3",
|
|
|
|
"description": "Activity 3",
|
|
|
|
"url":"/coding/light-the-way-3",
|
|
|
|
"cardType": "example"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Traffic Lights
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Traffic Lights 1",
|
|
|
|
"description": "Activity 1",
|
|
|
|
"url":"/coding/traffic-lights-1",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Traffic Lights 2",
|
|
|
|
"description": "Activity 2",
|
|
|
|
"url":"/coding/traffic-lights-2",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Traffic Lights 3",
|
|
|
|
"description": "Activity 3",
|
|
|
|
"url":"/coding/traffic-lights-3",
|
|
|
|
"cardType": "example"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Reverse Bepper
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Reverse Beeper 1",
|
|
|
|
"description": "Activity 1",
|
|
|
|
"url":"/coding/reverse-beeper-1",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Reverse Beeper 2",
|
|
|
|
"description": "Activity 2",
|
|
|
|
"url":"/coding/reverse-beeper-2",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Reverse Beeper 3",
|
|
|
|
"description": "Activity 3",
|
|
|
|
"url":"/coding/reverse-beeper-3",
|
|
|
|
"cardType": "example"
|
|
|
|
}]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Ignition
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Ignition 1",
|
|
|
|
"description": "Activity 1",
|
|
|
|
"url":"/coding/ingition-1",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Ignition 2",
|
|
|
|
"description": "Activity 2",
|
|
|
|
"url":"/coding/ignition-2",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Ignition 3",
|
|
|
|
"description": "Activity 3",
|
|
|
|
"url":"/coding/ignition-3",
|
|
|
|
"cardType": "example"
|
|
|
|
}]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Cruise Control
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Cruise Control 1",
|
|
|
|
"description": "Activity 1",
|
|
|
|
"url":"/coding/cruise-control-1",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Cruise Control 2",
|
|
|
|
"description": "Activity 2",
|
|
|
|
"url":"/coding/cruise-control-2",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Cruise Control 3",
|
|
|
|
"description": "Activity 3",
|
|
|
|
"url":"/coding/cruise-control-3",
|
|
|
|
"cardType": "example"
|
|
|
|
}]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Roaming
|
|
|
|
|
|
|
|
```codecard
|
|
|
|
[{
|
|
|
|
"name": "Roaming 1",
|
|
|
|
"description": "Activity 1",
|
|
|
|
"url":"/coding/roaming-1",
|
|
|
|
"cardType": "example"
|
|
|
|
}, {
|
|
|
|
"name": "Roaming 2",
|
|
|
|
"description": "Activity 2",
|
|
|
|
"url":"/coding/roaming-2",
|
|
|
|
"cardType": "example"
|
|
|
|
}]
|
|
|
|
```
|
|
|
|
|
2017-06-29 16:47:26 +02:00
|
|
|
## Fun stuff
|
|
|
|
|
2017-11-29 00:23:54 +01:00
|
|
|
```codecard
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "Happy unhappy",
|
|
|
|
"description": "Keep your brick entertained and happy",
|
|
|
|
"url":"/examples/happy-unhappy",
|
|
|
|
"cardType": "example"
|
2018-02-15 22:56:50 +01:00
|
|
|
}, {
|
|
|
|
"name": "Distance Measurer",
|
|
|
|
"description": "Use a motor to measure angle and distance",
|
|
|
|
"url": "/examples/distance-measurer",
|
|
|
|
"cardType": "example"
|
2017-11-29 00:23:54 +01:00
|
|
|
}]
|
|
|
|
```
|