- Add SSD1306 128x64 OLED display with attenuation bar, dB readout, step counter, sweep indicator, and WiFi RSSI - Switch all debug output to Serial0 (UART0 via CH343) for consistent serial comms when USB CDC is not used - Remove unused USB.h includes from all source files - Add development notes to CLAUDE.md (no stty, serial config docs)
17 lines
405 B
C
17 lines
405 B
C
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
|
|
// Initialize the OLED display
|
|
// Returns true if display found, false otherwise
|
|
bool initDisplay();
|
|
|
|
// Update display with current attenuator state
|
|
void updateDisplay(float db, uint8_t step, int rssi, bool sweeping, bool wifiConnected);
|
|
|
|
// Show startup splash screen
|
|
void showSplash(const char* version);
|
|
|
|
// Check if display is available
|
|
bool isDisplayAvailable();
|