I’ve bought the exact screen you linked
Code is uploaded but just get a white screen (like the back light is on but nothing else)
Any ideas ?
Thanks
I’ve bought the exact screen you linked
Code is uploaded but just get a white screen (like the back light is on but nothing else)
Any ideas ?
Thanks
The shop you bought from must have a link to what kind of changes you need to do to lvgl / espi config files. You also need to install the LVGL library.
My config files are given in the Git project and you can compare and make changes to your files.
You may also have to downgrade the board manager, again - given in the git.You can check the Arduino serial monitor for errors. I’m sure there must be some kinda core panic or missing library.
Finally, you have edit the MAC address in the code.
I know I cannot connect my phone and the esp32 at the same time to the CAN BT adapter. As for EDL - not sure
Thanks you I’ll check all that. The one I bought was the exact one you link on GitHub. Thanks for your reply!
If you have the exact same model - official docs/codes: https://we.tl/t-jfB5EN4vJe
Once this is done, downgrade the ESP, update the config files as given in my git.
Awesome I’ll have a look later thank you
I created a draft PR to convert to platform.io.
Let me know if you are interested or not. No pb to close it.
Still in draft, need to see how to split the code and continue to have multiple definition of displays (I want specific data, and pretty sure you want some others) and also support “multi threads”
Hey that looks pretty awesome.
is it possible to get a tutorial how to upload the code to the display?
I have no clue what i have to do to get that display to work
Okay i did the settings like in the picture above and burnt bootloader.
But now i have a black display, i think i destroyed it…
it is compiling but i have an error is it possible to restore it to factory settings?
Now im getting a normal Hello World on my Esp32 but i dont check it how to upload the Ecumaster Black projekt into the ESP32
Okay today the best thing i can get is a white screen but the compiler doesnt say an error or something. I dont know what to do…
This Sketch works but what i doing wrong?
#define LGFX_AUTODETECT
#include <LovyanGFX.hpp>
LGFX lcd;
LGFX_Sprite canvas;
static constexpr char text = “Hello world ! こんにちは世界! this is long long string sample. 寿限無、寿限無、五劫の擦り切れ、海砂利水魚の、水行末・雲来末・風来末、喰う寝る処に住む処、藪ら柑子の藪柑子、パイポ・パイポ・パイポのシューリンガン、シューリンガンのグーリンダイ、グーリンダイのポンポコピーのポンポコナの、長久命の長助”;
static constexpr size_t textlen = sizeof(text) / sizeof(text[0]);
size_t textpos = 0;
void setup(void)
{
lcd.init();
// 画面が横長になるように回転
if (lcd.width() < lcd.height()) lcd.setRotation(lcd.getRotation() ^ 1);
canvas.setColorDepth(8);
canvas.setFont(&fonts::lgfxJapanMinchoP_32);
canvas.setTextWrap(false); // 右端到達時のカーソル折り返しを禁止
canvas.createSprite(lcd.width() + 36, 36); // 画面幅+1文字分の横幅を用意
}
void loop(void)
{
int32_t cursor_x = canvas.getCursorX() - 1; // 現在のカーソル位置を取得し、1ドット左に移動
if (cursor_x <= 0) // カーソル位置が左端に到達している場合は一周したと判断
{
textpos = 0; // 文字列の読取り位置をリセット
cursor_x = lcd.width(); // 新たな文字が画面右端に描画されるようにカーソル位置を変更
}
canvas.setCursor(cursor_x, 0); // カーソル位置を更新
canvas.scroll(-1, 0); // キャンバスの内容を1ドット左にスクロール
while (textpos < textlen && cursor_x <= lcd.width()) // 画面右端に文字が書けるか判定
{
canvas.print(text[textpos++]); // 1バイトずつ出力 (マルチバイト文字でもこの処理で動作します)
cursor_x = canvas.getCursorX(); // 出力後のカーソル位置を取得
}
canvas.pushSprite(&lcd, 0, 0);
}
Hoping someone could shed some Light, I am not a programmer but really love the idea.
I cant seem to get past this error. Not sure what to uncomment.
C:\Users\sveng\OneDrive\Documents\Arduino\ESPScreen\ESPScreen.ino:15:2: error: invalid preprocessing directive #terror
#terror Serial Bluetooth not available or not enabled. It is only available for the ESP32 chip.
^~~~~~
exit status 1
Compilation error: invalid preprocessing directive #terror
@AlexJo174 I prepared a PR to help beginner with esp32.
Should be ready soon from the main repo.
Until it s approved and merged, you can check my fork , and particularly this branch
The readme contains all info you need to know how to build and deploy the code to your device.
As extra feature, it contains also a shiftlight , and a tracker of knocks
( a tuner view is also available by uncommenting the #define DISPLAY_TUNER_VIEW)
Hey eudes,
thanks for your help i try it but i get an error.
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: Redirecting...
PLATFORM: Espressif 32 (6.11.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
#include “emu_mac_address.h”
^~~~~~~~~~~~~~~~~~~
compilation terminated.
Compiling .pio\build\esp32dev\lib4a1\lvgl\core\lv_obj_draw.c.o
*** [.pio\build\esp32dev\src\main.cpp.o] Error 1
================================ [FAILED] Took 3.08 seconds ================================
Weird, are you using vscode?
Maybe I forgot to update the readme for a specific step.
Here what I have when using platform.io from vscode
I got it to work with chatgpt. I had to make a new File in the “include folder” i named the file with
emu_mac_address.h an put that code from Chatgpt in it.
#ifndef EMU_MAC_ADDRESS_H
#define EMU_MAC_ADDRESS_H
// Hier definierst du deine 6 MAC-Bytes als Konstanten:
#define MAC0 0xAA
#define MAC1 0xBB
#define MAC2 0xCC
#define MAC3 0xDD
#define MAC4 0xEE
#define MAC5 0xFF
#endif // EMU_MAC_ADDRESS_H
and now i have a overlay with the data and a blue blinking LED but i think i have to type in the real mac adress.
It looks like this in my vscode.
The LED is Blinking a few times blue, after blinking its a light blue static light and after that its red and it will repeat.
I fixed it, I forgot to push the file
Yes , here (also available in the readme), the behavior of the led
You have to set the MAC Address of your bluetooth emu device.
To allow the connection
Thank you Eudes for your help!
Love you!
I will try to get the EDL1 Mac adress somehow. maybe with my iphone possible i have to investigate how that is done. Im to far away from that technology haha
You can use any ble scanner to get the mac address.
its just an app or hardware?
It s an app on android, you should find an alternative on apple store