xerbot 0.1.1 : xb.commandes("led,seuil") déclare les sorties (state.cmds) ; test 9/9

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R75H65SynGwRG5vBSoYeZ1
This commit is contained in:
cloudion
2026-11-04 19:50:41 +00:00
parent 5452df71a7
commit a361215dcf
7 changed files with 25 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ void commande(Xerbot& x, const XerbotCommande& c) {
}
void setup() {
Serial.begin(115200); pinMode(LED_BUILTIN, OUTPUT);
xb.onCommande(commande);
xb.onCommande(commande); xb.commandes("led");
xerbotEspNowNoeud(xb /*, macPasserelle */);
}
void loop() {