From bb911f80fbabe9dd1baa8b812a57bbdc62477525 Mon Sep 17 00:00:00 2001 From: Amerlander Date: Wed, 21 Aug 2024 17:35:32 +0200 Subject: [PATCH] add orglogowide and fix workbook courses --- docs/calliope/arbeitsheft/23-4_fitness.md | 6 +++--- docs/calliope/arbeitsheft/33-4_licht.md | 11 ++++++----- .../arbeitsheft/50-2_personenzaehler.md | 2 +- docs/static/orglogowide.png | Bin 0 -> 10536 bytes 4 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 docs/static/orglogowide.png diff --git a/docs/calliope/arbeitsheft/23-4_fitness.md b/docs/calliope/arbeitsheft/23-4_fitness.md index 0eee18ac8..edebe51c8 100644 --- a/docs/calliope/arbeitsheft/23-4_fitness.md +++ b/docs/calliope/arbeitsheft/23-4_fitness.md @@ -1,7 +1,7 @@ # 23 4_Fitness ```ghost -let Tempo = 1000 +let tempo = 1000 basic.setLedColor(0xff0000) basic.pause(tempo) for (let index = 0; index < 2; index++) { @@ -37,8 +37,8 @@ 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". +## Create variable tempo +Create a ``||variables.variable||`` and name it "tempo". ``` ``` diff --git a/docs/calliope/arbeitsheft/33-4_licht.md b/docs/calliope/arbeitsheft/33-4_licht.md index 5421d55be..b6ee01de2 100644 --- a/docs/calliope/arbeitsheft/33-4_licht.md +++ b/docs/calliope/arbeitsheft/33-4_licht.md @@ -1,8 +1,9 @@ # 33 4 Light ```ghost +let brightness = input.lightLevel(); input.onButtonEvent(Button.B, input.buttonEventClick(), function () { -basic.showNumber(Licht) +basic.showNumber(brightness) }) ``` @@ -10,14 +11,14 @@ basic.showNumber(Licht) Write a program that saves the measured light value in a variable when the LED matrix is switched off and then display the saved value on the LED matrix. ## Create variable -Create a ``||variables.variable||`` and name it "Light". +Create a ``||variables.variable||`` and name it "brightness". ``` ``` ![](https://calliope.cc/tutorials/variable_licht.png) ## Save light intensity @showdialog -If button A is clicked, save the measured light intensity in the variable "Light". +If button A is clicked, save the measured light intensity in the variable "brightness". ## Define input Select the block ``||input.on button A is clicked|||`` as input. @@ -28,7 +29,7 @@ Use the ``||variables.set light to||`` block to set the value of the variable to ## Show light intensity @showdialog -When button B is clicked, show the value of the variable "Light". +When button B is clicked, show the value of the variable "brightness". ## Define input Place another block ``|| input.on button A ||`` clicked and change it to ``|| input.on button B ||`` clicked. @@ -36,7 +37,7 @@ Place another block ``|| input.on button A ||`` clicked and change it to ``|| in ![Button B](https://calliope.cc/tutorials/kopf_a_b.png) ## Define output -Use the ``|| basic.show number||`` block and display the value of the variable``||variables.light||``. +Use the ``|| basic.show number||`` block and display the value of the variable``||variables.brightness||``. ## Done! 👏 diff --git a/docs/calliope/arbeitsheft/50-2_personenzaehler.md b/docs/calliope/arbeitsheft/50-2_personenzaehler.md index 8551c8aa6..2a5d0fcff 100644 --- a/docs/calliope/arbeitsheft/50-2_personenzaehler.md +++ b/docs/calliope/arbeitsheft/50-2_personenzaehler.md @@ -69,4 +69,4 @@ Click on ``|Download|`` to transfer your program to your Calliope mini and test ```package grove=github:calliope-edu/pxt-grove - +``` diff --git a/docs/static/orglogowide.png b/docs/static/orglogowide.png new file mode 100644 index 0000000000000000000000000000000000000000..9e1e13034db28e209714401b49f74a2b08819822 GIT binary patch literal 10536 zcmY*<1yGyY6E9MnP+Wp*fZ~MWZb6DefdWNJAxLp8QY^)bJHdjx6)#R(iZ!_F#kCZ- z$Nk^-y?K+FBy(o>?Cx)O&)IMHi_p?g2H*m5QBY6-Di8%76cjYT>SX>^Re@O0n_(FVtT73KS!qhGYve3bZ@%#m^Fan6g!eFW&;t4<9nq`zw#^cXYr( zM9}}7hIRBb=E_*>de(vTd9%Nz2y!LxTJ!DP`yAD#4G`Q0+4VnM&Nu$iKRqAxkpUl5o>7S)mTG(kTYiiuM*VOiQU(2g zL4x}sUuDH_^tlca1sZuyFZhRAF)2^AkHgaD&cM#*blv7XPSbRZ2GOVKfjLYzz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