Relative Content

Daily Archives: 2018年10月13日

ESP32 (4) mini-Oscilloscope

Arduino UNOと同じmini-Oscilloscope を作って見た。 表示の正確性はまた検証が必要だけど ソースコードはほぼ一緒 /* This is set up to use a 128×64 I2C screen, as available here: http://www.banggood.com/buy/0-96-oled.html For wiring details see http://youtu.be/XHDNXXhg3Hg */ #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define OLED_RESET 4 Adafruit_SSD1306 display(OLED_RESET); #if (SSD1306_LCDHEIGHT != 64) // error(“Height incorrect, please fix Adafruit_SSD1306.h!”); #endif /********************************************/ #define CHARWIDTH 5 #define CHARHEIGHT […]