xerbot 0.1.0 : le contrat xerbot v1 pour Arduino / PlatformIO (USB, ESP-NOW, Bluetooth), 6 exemples dont RuView CSI, test natif 8/8

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:32:55 +00:00
commit 5452df71a7
16 changed files with 560 additions and 0 deletions

14
test/Arduino.h Normal file
View File

@@ -0,0 +1,14 @@
// un faux Arduino.h pour tester le cœur sur la machine (g++)
#pragma once
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <string>
inline unsigned long millis() { static unsigned long t = 0; return t += 1; }
struct Stream {
std::string in, out;
int available() { return (int)in.size(); }
int read() { char c = in[0]; in.erase(0, 1); return c; }
void print(const char* s) { out += s; }
void print(char c) { out += c; }
};