Switch to simple blue LED indicator on GPIO8
C3 Super Mini has a plain blue LED on GPIO8, not an addressable WS2812B. Removed NeoPixel library, using digitalWrite instead. LED on = Loki active and chaffing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a7f26f88e4
commit
3a9f5a546a
1 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <NimBLEDevice.h>
|
#include <NimBLEDevice.h>
|
||||||
|
// ── Blue status LED on GPIO8 ──
|
||||||
|
#define LED_PIN 8
|
||||||
|
|
||||||
// ── Device profiles ──
|
// ── Device profiles ──
|
||||||
|
|
||||||
|
|
@ -102,6 +104,10 @@ void setup() {
|
||||||
Serial.println("=============================");
|
Serial.println("=============================");
|
||||||
Serial.println();
|
Serial.println();
|
||||||
|
|
||||||
|
// Blue LED — Loki is active
|
||||||
|
pinMode(LED_PIN, OUTPUT);
|
||||||
|
digitalWrite(LED_PIN, HIGH);
|
||||||
|
|
||||||
NimBLEDevice::init("");
|
NimBLEDevice::init("");
|
||||||
NimBLEDevice::setOwnAddrType(BLE_OWN_ADDR_RANDOM);
|
NimBLEDevice::setOwnAddrType(BLE_OWN_ADDR_RANDOM);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue