#include <Arduino.h> #include <U8x8lib.h> #ifdef U8X8_HAVE_HW_SPI #include <SPI.h> #endif U8X8_SH1106_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE); const int analogInPin = A0; // ESP8266 Analog Pin ADC0 = A0 int sensorValue = 0; // value read from the pot int outputValue = 0; // value to output to a PWM pin int analogInput = A0; float Vout = 0.00; […]
Read More