Frau Hmpf
Published © GPL3+

Forgot Something: The Calliope-Remembrall Will Remind You

This is an utterly useless project since this magical object is quite useless. Everybody forgets stuff, naturally.

BeginnerWork in progress1 hour1,774
Forgot Something: The Calliope-Remembrall Will Remind You

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
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1
Calliope mini
Calliope mini
×1

Software apps and online services

Microsoft Calliope mini block editor

Story

Read more

Schematics

Calliope mini pin out schematics

Pin out

Code

Corrected code

JavaScript
input.onGesture(Gesture.Shake, () => { 
basic.setLedColor(Colors.Red) 
basic.showString("REMEMBER!") 
basic.clearScreen() 
basic.setLedColor(Colors.Indigo) })

Calliope mini Remembrall

JavaScript
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

Frau Hmpf

Frau Hmpf

3 projects • 16 followers
working where the wild things are a.k.a. teacher @ primary school

Comments