mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-20 22:05:11 +00:00
26 lines
No EOL
1.1 KiB
C
26 lines
No EOL
1.1 KiB
C
#ifndef DISPLAY_H_
|
|
#define DISPLAY_H_
|
|
|
|
#include <Arduino.h>
|
|
|
|
#define SCREEN_WIDTH 128 // OLED display width, in pixels
|
|
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
|
|
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
|
|
#define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin)
|
|
/*change to
|
|
#define OLED_RESET 16
|
|
for HELTEC_WIFI_LORA_32_V2 screen to work
|
|
*/
|
|
|
|
void setup_display();
|
|
void display_toggle(bool toggle);
|
|
|
|
void show_display(String line1, int wait = 0);
|
|
void show_display(String line1, String line2, int wait = 0);
|
|
void show_display(String line1, String line2, String line3, int wait = 0);
|
|
void show_display(String line1, String line2, String line3, String line4, int wait = 0);
|
|
void show_display(String line1, String line2, String line3, String line4, String line5, int wait = 0);
|
|
void show_display(String line1, String line2, String line3, String line4, String line5, String line6, int wait = 0);
|
|
void show_display(String line1, String line2, String line3, String line4, String line5, String line6, String line7, int wait = 0);
|
|
|
|
#endif |