Package pt.unl.fct.di.tardis.babel.iot.demos
package pt.unl.fct.di.tardis.babel.iot.demos
-
ClassDescriptionDemo that reads the Grove 3-axis accelerometer and mirrors every reading onto the Grove LCD, illustrating how a Babel application combines an input and an output IoT-control protocol in one app.Reactive Babel demo: shows an emoji on the Grove RGB LED matrix for any gesture the detector reports.Reactive Babel demo: draws an arrow on the Grove RGB LED matrix that matches the direction of the detected gesture (UP/DOWN/LEFT/RIGHT), then clears the matrix shortly afterwards if no new gesture arrives.Reactive Babel demo: colours the whole Grove RGB LED matrix according to the cardinal gesture detected (UP/DOWN/LEFT/RIGHT each map to a colour).Demo: a strip of Grove chainable RGB LEDs animated as a travelling colour wave, expressed in the HSB (hue/saturation/brightness) colour model.Demo: a strip of Grove chainable RGB LEDs whose colours animate as a travelling rainbow.Flagship multi-device demo — command-line name
lightControl.The common contract every demo in this project implements.Demo: drive a Grove LED matrix from a Grove rotary encoder.The reference demo for this project, and the one the README walks through end-to-end under "Anatomy of a demo".Demo that cycles a sequence of images on the Grove RGB LED matrix: it spells out "TARDIS" letter by letter, then randomly alternates between built-in emojis, built-in animations, and another pass of the "TARDIS" spelling.Extended LED-matrix demo: a companion toBabelMatrixDemothat steps through a longer, fixed catalogue of frames added by ParadigmShift — coloured letters, the full set of arrow glyphs (plain, inverted, mosaic), and the standard symbols (forbidden / OK / wrong / mandatory direction signs), several of them painted with explicit or randomised colours.Demo: the minimal way to drive a Grove chainable RGB LED strip in the HSB (hue/saturation/brightness) colour model.Demo: the minimal way to drive a Grove chainable RGB LED strip in the RGB colour model.