hmc472/firmware/src/display.h
Ryan Malloy a425b4c324 Add OLED display support, standardize Serial0 for UART output
- 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)
2026-02-08 14:10:44 -07:00

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();