Skip to content

Commit

Permalink
update board names to Calliope mini
Browse files Browse the repository at this point in the history
  • Loading branch information
Amerlander committed Aug 21, 2024
1 parent 2369f58 commit b604466
Show file tree
Hide file tree
Showing 12 changed files with 268 additions and 29 deletions.
16 changes: 8 additions & 8 deletions docs/courses.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

A collection of courses and tutorials built for the @boardname@.

## First lessons with MakeCode and the micro:bit
## First lessons with MakeCode and the Calliope mini

A sequence of six beginner lessons, ideal for getting started with the micro:bit. Students will learn core computing concepts by making and coding engaging projects.
A sequence of six beginner lessons, ideal for getting started with the Calliope mini. Students will learn core computing concepts by making and coding engaging projects.

```codecard
[{
"name": "First Lessons",
"description": "A sequence of lessons from the Micro:bit Educational Foundation that provide a pathway through six projects, ideal for getting started with the micro:bit",
"description": "A sequence of lessons from the Calliope mini Educational Foundation that provide a pathway through six projects, ideal for getting started with the Calliope mini",
"url":"https://microbit.org/teach/lessons/first-lessons-with-makecode-and-the-microbit",
"imageUrl": "/static/courses/first-lessons.png"
}]
Expand Down Expand Up @@ -63,22 +63,22 @@ Courses contributed by educators to teach computing, science, and technology in

## Mr. Morrison Lessons

Lessons aimed at P4-7 (Yr 3-6, aged 7-12) but could be adapted for use with older or younger learners. Regardless of age, if your learners have not used micro:bits before the best place to start is the 'Starter Lessons' followed by the 'Beyond Basics' Lessons.
Lessons aimed at P4-7 (Yr 3-6, aged 7-12) but could be adapted for use with older or younger learners. Regardless of age, if your learners have not used Calliope minis before the best place to start is the 'Starter Lessons' followed by the 'Beyond Basics' Lessons.

```codecard
[{
"name": "micro:bit Starter Lessons",
"name": "Calliope mini Starter Lessons",
"description": "Learn to create code, make programs to read inputs and write to outputs.",
"url": "https://mrmorrison.co.uk/microbit/starter/",
"imageUrl": "/static/courses/mr-morrison/starter-lessons.png"
}, {
"name": "micro:bit Beyond Basics",
"name": "Calliope mini Beyond Basics",
"description": "Take a step past the basics and learn to use logic with inputs and outputs.",
"url": "https://mrmorrison.co.uk/microbit/beyondbasics/",
"imageUrl": "/static/courses/mr-morrison/beyond-basics.png"
}, {
"name": "micro:bit Data and Sustainability",
"description": "Learn to record and analyse data using the micro:bit, then learn to design and build a smart sustainable home.",
"name": "Calliope mini Data and Sustainability",
"description": "Learn to record and analyse data using the Calliope mini, then learn to design and build a smart sustainable home.",
"url": "https://mrmorrison.co.uk/microbit/datasustainability/",
"imageUrl": "/static/courses/mr-morrison/data-sustainability.png"
}]
Expand Down
2 changes: 1 addition & 1 deletion docs/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ For a list of extensions within categories, browse the [Extension Gallery](/exte

## Removing an extension from a project

To remove an extension from a project, click on the Language toggle to move the project into **JavaScript** or **Python** view. Then expand the **Explorer** view under the micro:bit simulator. Click on the **Delete** button next to the extension you would like to remove.
To remove an extension from a project, click on the Language toggle to move the project into **JavaScript** or **Python** view. Then expand the **Explorer** view under the Calliope mini simulator. Click on the **Delete** button next to the extension you would like to remove.

![File Explorer](/static/extensions/file-explorer.png)

Expand Down
10 changes: 5 additions & 5 deletions docs/projects/micro-chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

![Two @boardname@ connected via radio](/static/mb/projects/a9-radio.png)

Use the micro:bit 📻 radio to send and receive 💬 messages between micro:bits!
Use the Calliope mini 📻 radio to send and receive 💬 messages between Calliope minis!

## {Step 1}

From the ``||radio:Radio||`` Toolbox category, drag a ``||radio:radio set group||`` block into the ``||basic:on start||`` block. This will act as the channel over which we'll send messages. Only micro:bits who are in the same group will be able to send and receive messages between them.
From the ``||radio:Radio||`` Toolbox category, drag a ``||radio:radio set group||`` block into the ``||basic:on start||`` block. This will act as the channel over which we'll send messages. Only Calliope minis who are in the same group will be able to send and receive messages between them.

```blocks
radio.setGroup(1)
Expand All @@ -24,7 +24,7 @@ input.onButtonEvent(Button.A, input.buttonEventClick(), function() {})

## {Step 3}

From the ``||radio:Radio||`` category, drag a ``||radio:radio send string||`` block into the ``||input:on button A pressed||`` block and type a message. When we press button A on our micro:bit, we'll send this message to every micro:bit nearby in group 1.
From the ``||radio:Radio||`` category, drag a ``||radio:radio send string||`` block into the ``||input:on button A pressed||`` block and type a message. When we press button A on our Calliope mini, we'll send this message to every Calliope mini nearby in group 1.

```blocks
input.onButtonEvent(Button.A, input.buttonEventClick(), function() {
Expand Down Expand Up @@ -63,7 +63,7 @@ radio.onReceivedString(function (receivedString) {

## {Step 7}

Let's test our code! In the micro:bit on-screen simulator, press button **A**. You should see a second @boardname@ appear. Now try pressing **A** again. Do you see your message appear on the second micro:bit? ⭐ Great job! ⭐
Let's test our code! In the Calliope mini on-screen simulator, press button **A**. You should see a second @boardname@ appear. Now try pressing **A** again. Do you see your message appear on the second Calliope mini? ⭐ Great job! ⭐

```blocks
input.onButtonEvent(Button.A, input.buttonEventClick(), function() {
Expand All @@ -76,7 +76,7 @@ radio.onReceivedString(function (receivedString) {

## {Step 8}

If you have a @boardname@ device, connect it to your computer and click the ``|Download|`` button. Follow the instructions to transfer your code onto the @boardname@. If you have two micro:bits, download the program to each one. Press button **A** on one and see if the other gets the message!
If you have a @boardname@ device, connect it to your computer and click the ``|Download|`` button. Follow the instructions to transfer your code onto the @boardname@. If you have two Calliope minis, download the program to each one. Press button **A** on one and see if the other gets the message!

## {Step 9}

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/pins/set-audio-pin-enabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ You can enable the @boardname@ to output audio to a pin on the edge connector.

### ~ hint

#### micro:bit V2 speaker
#### Calliope mini speaker

With the [micro:bit V2](/device/v2) hardware, the built-in speaker will play (mirror) the same tones and music sent to the audio pin.
With the [Calliope mini](/device/v2) hardware, the built-in speaker will play (mirror) the same tones and music sent to the audio pin.

### ~

Expand Down
4 changes: 2 additions & 2 deletions docs/teachertool/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
{
"id": "7C2F70AB-2A00-4E35-8227-E5756957D7B3",
"use": "on_shake_gesture",
"template": "Runs code when the micro:bit is shaken",
"description": "When the user shakes the micro:bit, the code inside this block will run.",
"template": "Runs code when the Calliope mini is shaken",
"description": "When the user shakes the Calliope mini, the code inside this block will run.",
"hideInCatalog": true,
"docPath": "/teachertool"
},
Expand Down
2 changes: 1 addition & 1 deletion editor/flash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ class DAPWrapper implements pxt.packetio.PacketIOWrapper {
if (connectionId != this.connectionId) return;
const info = await this.readBytes(xchg, 16)
if (info[12 + 2] != 0xff) {
log("jacdac: invalid memory; try power-cycling the micro:bit")
log("jacdac: invalid memory; try power-cycling the Calliope mini")
pxt.tickEvent("hid.flash.jacdac.error.invalidmemory");
console.debug({ info, xchg })
return
Expand Down
4 changes: 2 additions & 2 deletions electron/product.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"applicationName": "pxt-microbit-oss",
"dataFolderName": ".pxt-microbit-oss",
"darwinBundleIdentifier": "com.microsoft.pxtmicrobitoss",
"nameShort": "PXT microbit - OSS",
"nameLong": "PXT micro:bit - OSS",
"nameShort": "PXT Calliope - OSS",
"nameLong": "PXT Calliope mini - OSS",
"targetId": "pxt-microbit",
"win32AppId": "{{92db071a-6f58-4938-8c97-13c873f4da13}",
"win32AppUserModelId": "Microsoft.PXTmicrobitOss",
Expand Down
4 changes: 2 additions & 2 deletions libs/core/_locales/fr/core-jsdoc-strings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Math.randomBoolean": "Génère une valeur « true » ou « false » au hasard, comme si vous lanciez une pièce de monnaie.",
"String.fromCharCode": "Construit une chaîne à partir du code ASCII d'un caractère donné.",
"basic": "Permet d’accéder aux fonctionnalités de base de la micro:bit.",
"basic": "Permet d’accéder aux fonctionnalités de base de la Calliope mini.",
"basic.clearScreen": "Éteindre toutes les LEDs",
"basic.forever": "Répète le code indéfiniment en tâche de fond. A chaque itération, permet aux autres codes de s’exécuter.",
"basic.pause": "Pause pendant la durée indiquée en millisecondes",
Expand All @@ -20,7 +20,7 @@
"basic.showString|param|interval": "à quelle vitesse se déplacent les caractères ; par ex. : 150, 100, 200, -100",
"basic.showString|param|text": "le texte à faire défiler sur l’écran, par exemple : « Bonjour ! »",
"control.inBackground": "Planifie le code qui s’exécute en arrière-plan.",
"control.reset": "Réinitialise le micro:bit de BBC.",
"control.reset": "Réinitialise le Calliope mini.",
"control.waitMicros|param|micros": "nombre de microsecondes à attendre. par ex. : 4",
"game": "Un moteur de jeu avec une unique LED",
"game.addLife|param|lives": "TODO",
Expand Down
2 changes: 1 addition & 1 deletion libs/funk/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ declare namespace radio {
function onDataReceived(body: () => void): void;

/**
* Sets the group id for radio communications. A micro:bit can only listen to one group ID at any time.
* Sets the group id for radio communications. A Calliope mini can only listen to one group ID at any time.
* @param id the group id between ``0`` and ``255``, eg: 1
*/
//% help=radio/set-group
Expand Down
4 changes: 2 additions & 2 deletions libs/funk/targetoverrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace radio {
}

/**
* Returns the serial number of the sender micro:bit from the last packet taken
* Returns the serial number of the sender Calliope mini from the last packet taken
* from the radio queue (via ``receiveNumber``, ``receiveString``, etc) or 0 if
* that packet did not send a serial number.
*/
Expand Down Expand Up @@ -138,7 +138,7 @@ namespace radio {
}

/**
* Returns the system time of the sender micro:bit at the moment when it sent the
* Returns the system time of the sender Calliope mini at the moment when it sent the
* last packet taken from the radio queue (via ``receiveNumber``,
* ``receiveString``, etc).
*/
Expand Down
Loading

0 comments on commit b604466

Please sign in to comment.