PlatformIO

This commit is contained in:
2019-04-18 20:54:39 +02:00
parent a8ae17c219
commit 0dc0cce31a
8 changed files with 201 additions and 2 deletions
+4 -2
View File
@@ -25,6 +25,8 @@ int ledCount = 4; // Aantal aangesloten LED's (of LED-arrays)
int delayPot = A5; // Ingang potmeter
// Bepalingen Display
#define OLED_ADDR 60 // 60 = 0x3C / 61 = 0x3D
#define SCREEN_WIDTH 128 // OLED-scherm breedte, in pixels
#define SCREEN_HEIGHT 64 // OLED-scherm hoogte, in pixels
#define OLED_RESET 4
// Aanmaken benodigde variabelen
@@ -32,7 +34,7 @@ int temp0;
int currentLedPwmDisp;
// Initialisatie Adafruit_SSD1306
Adafruit_SSD1306 display(OLED_RESET);
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
void setup() {
// Start Display
@@ -107,4 +109,4 @@ void loop() {