Skip to content

Commit

Permalink
Release 6.0.37 (#292)
Browse files Browse the repository at this point in the history
* add workbook tutorials

* pin index ref to 6.0.37

* add missing icon file
  • Loading branch information
Amerlander authored Jun 5, 2024
1 parent 554b812 commit f7a4c76
Show file tree
Hide file tree
Showing 61 changed files with 998 additions and 1 deletion.
147 changes: 147 additions & 0 deletions docs/calliope/arbeitsheft.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
# Projects

Here are some cool tutorials to get you started with your @boardname@!

## Basic

```codecard
[
{
"name": "p. 18 ex. 4",
"url":"/calliope/arbeitsheft/18-4_led-matrix",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/18-4_led-matrix.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/18-4_led-matrix.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 20 ex. 2",
"url":"/calliope/arbeitsheft/20-2_raketenstart",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/20-2_raketenstart.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/20-2_raketenstart.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 21 ex. 4",
"url":"/calliope/arbeitsheft/21-4_rgb-led",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/21-4_rgb-led.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/rgb-led.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 23 ex. 4",
"url":"/calliope/arbeitsheft/23-4_fitness",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/23-4_fitness.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/fitness.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 24 ex. 3",
"url":"/calliope/arbeitsheft/24-3_knoepfe",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/24-3_knoepfe.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/24-3_knoepfe.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 27 ex. 1",
"url":"/calliope/arbeitsheft/27-1_klavier",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/27-1_klavier.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/27-1_klavier.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 33 ex. 4",
"url":"/calliope/arbeitsheft/33-4_licht",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/33-4_licht.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/33-4_licht.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 35 ex. 1",
"url":"/calliope/arbeitsheft/35-1_smart-licht",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/35-1_smart-licht.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/35-1_smart-licht.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 38 ex. 1",
"url":"/calliope/arbeitsheft/38-1b_thermometer",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/38-1b_thermometer.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/38-1b_thermometer.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 41 ex. 3",
"url":"/calliope/arbeitsheft/41-3_wuerfel",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/41-3_wuerfel.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/41-3_wuerfel.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 42 ex. 2",
"url":"/calliope/arbeitsheft/42-2_orakel",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/42-2_orakel.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/42-2_orakel.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 45 ex. 1",
"url":"/calliope/arbeitsheft/45-1_pflanzenstation",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/45-1_pflanzenstation.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/45-1_pflanzenstation.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 49 ex. 1",
"url":"/calliope/arbeitsheft/49-1_schaetzspiel",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/49-1_schaetzspiel.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/49-1_schaetzspiel.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 50 ex. 2",
"url":"/calliope/arbeitsheft/50-2_personenzaehler",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/50-2_personenzaehler.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/50-2_personenzaehler.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
},{
"name": "p. 54 ex. 1",
"url":"/calliope/arbeitsheft/54-1_luftqualitaet",
"description": "",
"imageUrl": "/static/calliope/arbeitsheft/EN/54-1_luftqualitaet.png",
"largeImageUrl": "/static/calliope/arbeitsheft/EN/54-1_luftqualitaet.png",
"cardType": "tutorial",
"label": "",
"labelClass": "white small ribbon"
}
]
```
24 changes: 24 additions & 0 deletions docs/calliope/arbeitsheft/18-4_led-matrix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 18.4-5 Rocket launch

## Task @showdialog
Launch a rocket on the LED matrix. You have to think in single frames like a professional animator.


## Create symbol
Use the ``||basic.show LEDs||`` block to display a rocket.


## Create animation
Create single frames of the animation. Duplicate the ``||basic.show LEDs||`` block and move the pixel rows from bottom to top, one row at a time.

## Countdown
Display a countdown of 3-2-1-0 before the rocket animation. Use the ``||basic.show number||`` block.


## Done! 👍
Click on ``|Download|`` to transfer your program to your Calliope mini.


```template
//
```
83 changes: 83 additions & 0 deletions docs/calliope/arbeitsheft/20-2_raketenstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# 20 2_Rocket launch


## Task @showdialog
Use a variable to determine the speed of your animation and adjust it conveniently instead of changing the speed again and again in every pause block.

## Create variable
Create a ``||variables.variable||`` and name it "Tempo".

```
```
![](https://calliope.cc/tutorials/variable_tempo.png)

## Insert variable
Use the block ``||variables.set tempo to||`` to set the variable Tempo to the value `100`. Attention: Place the block before your countdown!


## Replace
Replace the values in the pause blocks with the variable ``||variables.tempo|||``.


## Slow down the countdown
Slow down your countdown by setting the value of the variable ``||variables.tempo||`` to `500`.

## Done! 🎉
Click on ``|Download|`` to transfer your program to your Calliope mini.

```template
basic.showNumber(3)
basic.pause(100)
basic.showNumber(2)
basic.pause(100)
basic.showNumber(1)
basic.pause(100)
basic.showNumber(0)
basic.pause(100)
basic.showLeds(`
. . # . .
. # # # .
. # # # .
. . # . .
. # . # .
`)
basic.showLeds(`
. # # # .
. # # # .
. . # . .
. # . # .
. . . . .
`)
basic.showLeds(`
. # # # .
. . # . .
. # . # .
. . . . .
. . . . .
`)
basic.showLeds(`
. . # . .
. # . # .
. . . . .
. . . . .
. . . . .
`)
basic.showLeds(`
. # . # .
. . . . .
. . . . .
. . . . .
. . . . .
`)
basic.showLeds(`
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
`)
```

```blocks
let x = 0
```
52 changes: 52 additions & 0 deletions docs/calliope/arbeitsheft/21-4_rgb-led.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# 21 4 RGB-LED


## Task @showdialog
Program a rainbow. Use the following colors:
red, orange, yellow, green, turquoise, blue, purple.

## Create variable
Create a ``||variables.variable||`` and name it "Tempo".

```
```
![](https://calliope.cc/tutorials/variable_tempo.png)

## Set tempo
Use the block ``||variables.set tempo to||`` from the category ``||variables.variables||`` to set the variable Tempo to the value `100`. Place the block at the very beginning in the ``||basic.Start function||``.

## RGB LED
Use the ``||basic.set color to||`` block and drag it into the ``||basic.on start||``-function. Set the block so that the RGB LED lights up red.

## Replace pause value
Add a ``||basic.pause||`` block and replace the pause value with the ``||variables.tempo||`` block.

## Rainbow
For each additional color, add a ``||basic.set LED to||`` block and a ``||basic.pause||`` block.

## Done! ✨
Click on ``|Download|`` to transfer your program to your Calliope mini.


```template
//
```



















62 changes: 62 additions & 0 deletions docs/calliope/arbeitsheft/23-4_fitness.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# 23 4_Fitness


## Task @showdialog
Create a fitness program! Define 5 colors and assign a fitness exercise to each color - for example, squats, stretch jumps, jumping jacks, etc.
Observe the following guidelines for your fitness program:
- 10 exercises
- 3x jumping jacks in a row
- 2x squats
- Finish with a stretch jump

## Define exercises
Insert a ``||basic.set LED to||`` and ``||basic.pause||`` block for each of the 10 exercises.

## Repetitions
Optimize your program by recognizing repetitions and using repetition loops instead of mapping the same command several times in a row.
Use the ``||loops.repeat x times|||`` block and set the desired repetition.

## Optimize repetitions
If a color is repeated, you need a visible pause between the phases.
Use the ``||basic.turn built-in LED off||`` block to switch off the RGB LED.
You can find it under ``||basic.basics||`` ``||basic....more||``.
Add a ``||basic.pause||`` block to define the duration of the pause.
Complete your program.

## Use variables @showdialog
Use a variable to define the speed of your animation and adjust it easily.

## Create variable Tempo
Create a ``||variables.variable||`` and name it "Tempo".

```
```
![](https://calliope.cc/tutorials/variable_neu.png)

## Set tempo value
Use the block ``||variables.set tempo to||`` to set the variable ``||variables.tempo||`` to the value `1000`.

## Use variable Tempo
Replace the values in the pause blocks with the variable ``||variables.tempo||``.

## Done! 🎉
Click on ``|Download|`` to transfer your program to your Calliope mini.



















Loading

0 comments on commit f7a4c76

Please sign in to comment.