Things used in this project

Hardware components:
Joy-IT Neigungsschalter Modul KY 017
×1
3 or 4 pin grove to female jumper conversion cable
×1
Adafruit industries ada592 image 75px
USB-A to Micro-USB Cable
×1
Calliope mini weiss joernalraun ixmjbewlqx
Calliope mini v1.0
×1
Software apps and online services:
Microsoft Calliope mini block editor

Schematics

Calliope mini pin out schematics
Pin out
Calliope mini 10 pinout fin lq1wfynudr

Code

Corrected codeJavaScript
input.onGesture(Gesture.Shake, () => { 
basic.setLedColor(Colors.Red) 
basic.showString("REMEMBER!") 
basic.clearScreen() 
basic.setLedColor(Colors.Indigo) })
Calliope mini RemembrallJavaScript
Not working like it should. The LED screen doesn't clear at all. Remember seems to be on eternal repeat. Any suggestions and corrections would be appreciated.
basic.forever(() => {
    if (pins.digitalReadPin(DigitalPin.C16) != 1) {
        basic.setLedColor(Colors.Red)
        basic.showString("REMEMBER!")
        basic.clearScreen()
    } else {
        basic.setLedColor(Colors.Indigo)
    }
})

Credits

25101078
Frau Hmpf
4 projects • 9 followers
working where the wild things are a.k.a. primary school
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login