This is the original board demo code that is on Calliope mini after production. It contains the production test code, which is used to check that all components work as expected as well as the four demos you found when you switched it on.
The production test will be displayed once, after re-flashing this code. It is also an example how to use the non-volatile memory within the Calliope mini MCU.
Install yotta to compile the project or download the latest release. By default, the project will use German words in the demo. To compile for english, use the following command line to compile:
yt build --config config_en.json
DemoAn Intro is shown (may be skipped using long A+B
click).
Menu: 1-4
- 1: Oracle (shows a smiley or sadly on button press)
- 2: Rock, Paper, Scissors
- 3: Love Meter (touch P1 and P2 to show value, errata: it's P0 and P3 in the booklet)
- 4: Snake (adaped snake code from the microbit-samples)
Clicking A+B
should reset back to the menu selection.
The connector row is contains pins C0-C19 and is mostly available through the external pads 0-3 and the grove ports.
V 1 3 5 7 9 G 11 13 15 17 19 G
o o o o o o o o o o o o o
o o o o o o o o o o o o o
G 0 2 4 6 8 G 10 12 14 16 18 V
The motor connector has two ground pins as well as motor 1 and 2 and an additional power in connector. This power-in must not be supplied with more than 9V from a battery block.
G 2 1 G VM
o o o o o
The + and - connectors are for power out. Never supply more than 3.3V on any pin or the battery input or the device will break.
Here is a pinout in graphical form:
Comments
Please log in or sign up to comment.