Skip to content

Instantly share code, notes, and snippets.

@philippe86220
Created February 5, 2026 13:28
Show Gist options
  • Select an option

  • Save philippe86220/262de2bc458a92502d1e5f2f4283d6b6 to your computer and use it in GitHub Desktop.

Select an option

Save philippe86220/262de2bc458a92502d1e5f2f4283d6b6 to your computer and use it in GitHub Desktop.
UNO Q - Modulino LIGHT
#include <Arduino.h>
#include "Modulino.h"
#include <Arduino_RouterBridge.h>
ModulinoLight light;
void setup() {
Monitor.begin();
Modulino.begin();
light.begin();
}
void loop() {
// Demande une nouvelle mesure au capteur
light.update();
// Recuperation de la valeur en lux (entier)
int lux = light.getAL();
Monitor.print("Lux = ");
Monitor.println(lux);
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment