grove.onGesture(GroveGesture.Up, () => { basic.showString("Up"); }) grove.onGesture(GroveGesture.Down, () => { basic.showString("Down"); }) grove.initGesture() basic ...
When running node-dht-sensor on a Raspberry Pi 5 (or newer), you must install libgpiod (and its development headers) before you build. If you try to install the module with --use_libgpiod=true without ...