mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-01-24 09:40:15 +01:00
19 lines
710 B
C
19 lines
710 B
C
#ifndef DISPLAY_H_
|
|
#define DISPLAY_H_
|
|
|
|
#include <Arduino.h>
|
|
|
|
#define SCREEN_WIDTH 128 // OLED display width, in pixels
|
|
#define SCREEN_HEIGHT 32 // OLED display height, in pixels
|
|
#define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin)
|
|
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
|
|
|
|
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);
|
|
|
|
#endif |