#include // Wire Bibliothek hochladen #include // Vorher hinzugefügte LiquidCrystal_I2C Bibliothek hochladen LiquidCrystal_I2C lcd(0x27, 16, 2); //Hier wird festgelegt um was für einen Display es sich handelt. In diesem Fall einer mit 16 Zeichen in 2 Zeilen. // Array für die Textausgabe char wort [15]; // Zähler für die Länge des Arrays int i =0 ; // Pin verbinden mit voltage divider output const int FLEX_PIN0 = A0; const int FLEX_PIN1 = A1; const int FLEX_PIN2 = A2; const int FLEX_PIN3 = A3; const int FLEX_PIN4 = A4; const int FLEX_PIN5 = A5; const int FLEX_PIN6 = A6; const int FLEX_PIN7 = A7; const int FLEX_PIN8 = A8; const int FLEX_PIN9 = A9; // Measure the voltage at 5V and the actual resistance of your // 47k resistor, and enter them below: const float VCC = 4.98; // Measured voltage of Ardunio 5V line const float R_DIV = 47500.0; // Measured resistance of 3.3k resistor