Bearbeiten von „Putsch“
Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird öffentlich sichtbar, falls du Bearbeitungen durchführst. Sofern du dich anmeldest oder ein Benutzerkonto erstellst, werden deine Bearbeitungen zusammen mit anderen Beiträgen deinem Benutzernamen zugeordnet.
Die Bearbeitung kann rückgängig gemacht werden.
Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und speichere dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 129: | Zeile 129: | ||
For the communication with the OLED display, <Adafruit_GFX.h> and <Adafruit_SSD1306.h> are used. As the display can be interfaced with SPI or I2C, <SPI.h> for SPI and <Wire.h> for I2C are also used. The OLED display is interfaced based in the aranacorp.com[1] example. | For the communication with the OLED display, <Adafruit_GFX.h> and <Adafruit_SSD1306.h> are used. As the display can be interfaced with SPI or I2C, <SPI.h> for SPI and <Wire.h> for I2C are also used. The OLED display is interfaced based in the aranacorp.com[1] example. | ||
− | |||
− | |||
− | |||
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Address 0x3C for 128x32 | display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Address 0x3C for 128x32 | ||
Adafruit_SSD1306 display = Adafruit_SSD1306(128, 32, &Wire); | Adafruit_SSD1306 display = Adafruit_SSD1306(128, 32, &Wire); | ||
+ | |||
+ | This example uses I2C as interface and addresses the display with 0x3C. This means a second display could be connected, that uses address 0x3D. | ||