Danish & English
This commit is contained in:
Thomas
2025-07-15 15:30:20 +02:00
committed by GitHub
parent c81acf3f9f
commit 036a53783c
3 changed files with 246 additions and 0 deletions

20
MEP_Sniffer.ino Normal file
View File

@@ -0,0 +1,20 @@
#include <HardwareSerial.h>
// Brug UART2 (GPIO16 = RX, GPIO17 = TX)
HardwareSerial MEP(2);
void setup() {
Serial.begin(115200); // Til debugging
MEP.begin(9600, SERIAL_8N1, 16, 17); // MEP-porten: RX=GPIO16, TX=GPIO17
Serial.println("🔍 Starter MEP-sniffer...");
}
void loop() {
while (MEP.available()) {
byte b = MEP.read();
if (b < 0x10) Serial.print("0");
Serial.print(b, HEX);
Serial.print(" ");
}
}