Сделан русский текст

This commit is contained in:
2026-08-08 11:15:20 +03:00
parent c952c165f8
commit 70fe3566b4
9 changed files with 300 additions and 69 deletions

View File

@@ -14,9 +14,9 @@ class Display {
bool powered() const { return powered_; }
static void formatFrequency(float hz, char *out, size_t size);
static void formatTestFrequency(uint32_t hz, char *out, size_t size);
static void formatDuration(uint64_t us, char *out, size_t size);
static void formatDuration(uint64_t us, char *out, size_t size);
private:
void fit(char *text);
void drawTextLine(const char *text, int16_t y);
Adafruit_SSD1306 oled_;
bool ok_ = false;
bool powered_ = false;