From bc8b97fabae3b4823fad51575093c84cffbd1ca8 Mon Sep 17 00:00:00 2001 From: "Matthias L. Jugel" Date: Mon, 20 Feb 2017 11:13:00 +0100 Subject: [PATCH] add new calliope image, add analog pins on RX/TX grove --- docs/static/Calliope_mini_1.0.svg | 845 ++++++++++++++++++++++++++++++ libs/core/enums.d.ts | 2 + libs/core/pins.cpp | 2 + 3 files changed, 849 insertions(+) create mode 100644 docs/static/Calliope_mini_1.0.svg diff --git a/docs/static/Calliope_mini_1.0.svg b/docs/static/Calliope_mini_1.0.svg new file mode 100644 index 00000000..ba360ba0 --- /dev/null +++ b/docs/static/Calliope_mini_1.0.svg @@ -0,0 +1,845 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/libs/core/enums.d.ts b/libs/core/enums.d.ts index 3823e6b6..a7b0d692 100644 --- a/libs/core/enums.d.ts +++ b/libs/core/enums.d.ts @@ -294,6 +294,8 @@ declare namespace motors { C4 = 10, // MICROBIT_ID_IO_P3 C5 = 11, // MICROBIT_ID_IO_P4 C6 = 17, // MICROBIT_ID_IO_P10 + C16 = 9, // MICROBIT_ID_IO_P2 + C17 = 15, // MICROBIT_ID_IO_P8 MIC = 50, // MICROBIT_ID_IO_P21 } diff --git a/libs/core/pins.cpp b/libs/core/pins.cpp index 28b78ff5..90fac148 100644 --- a/libs/core/pins.cpp +++ b/libs/core/pins.cpp @@ -26,6 +26,8 @@ enum class AnalogPin { C4 = MICROBIT_ID_IO_P3, // LED matrix C1 C5 = MICROBIT_ID_IO_P4, // LED matrix C2 C6 = MICROBIT_ID_IO_P10, // LED matrix C3 + C16 = MICROBIT_ID_IO_P2, // RX + C17 = MICROBIT_ID_IO_P8, // TX MIC = MICROBIT_ID_IO_P21 // microphone };