-
• #2
I tried this and then saved using save().
However, LCD shows some dots but no textfunction start(){ g.clear(); g.drawString("test",0,0); g.flip(); } E.on('init', function() { // I2C I2C1.setup({scl:D4,sda:D5}); var g = require("SSD1306").connect(I2C1, start); });
-
• #3
@user88194 in your case the problem is
var g
ininit
- you're defining it locally, sog
won't exist when used instart
. Try:var g; function start(){ g.clear(); g.drawString("test",0,0); g.flip(); } E.on('init', function() { // I2C I2C1.setup({scl:D4,sda:D5}); g = require("SSD1306").connect(I2C1, start); });
-
• #4
That worked! Thank you for explaining the issue.
Hi all,
I am trying to save a simple code but it does not save.
I used this command on Windows terminal to flash the ESP32 wemos oled (attached pic) board:
The I used Eepruino web IDE on Windows changed the baud to setting to highest (115200)
When I connect to ESP32 I get this error message. However it seems to work fine.
when I uploade the code I get this warning:
this is test code:
When I save() it does not save
I disconnect and then reconnect ESP32 board but nothing shows up on oLED.
Any insight?
Thanks very much.
1 Attachment