LoRa_APRS_iGate/include/display.h

32 lines
1.2 KiB
C
Raw Permalink Normal View History

2025-07-15 22:28:23 +02:00
/* Copyright (C) 2025 Ricardo Guzman - CA2RXU
*
* This file is part of LoRa APRS iGate.
*
* LoRa APRS iGate is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* LoRa APRS iGate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with LoRa APRS iGate. If not, see <https://www.gnu.org/licenses/>.
*/
2023-03-26 14:12:27 +02:00
#ifndef DISPLAY_H_
#define DISPLAY_H_
2023-06-08 06:58:10 +02:00
#include <Arduino.h>
2023-03-26 14:12:27 +02:00
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
2024-08-14 18:32:34 +02:00
void displaySetup();
void displayToggle(bool toggle);
2023-03-26 14:12:27 +02:00
2024-08-14 18:32:34 +02:00
void displayShow(const String& header, const String& line1, const String& line2, const String& line3, int wait = 0);
void displayShow(const String& header, const String& line1, const String& line2, const String& line3, const String& line4, const String& line5, const String& line6, int wait = 0);
2023-03-26 14:12:27 +02:00
#endif