Closed Icefox2k closed 4 years ago
I can try. Can you describe what has to be added via custom parameters to make display work correctly? As I can see check box on Features step is adding #define USE_SPI
to the final override file.
No Problem
okay #define USE_SPI
is used for SPI Displays. For I2C Displays #define USE_I2C
is required. But there are more options which has to be defined. I added full support for all available Displays from the Tasmota Wiki and have no problems on my Wemos D1 Mini.
I think you could go with this things activated by the checkbox.
Thanks! There was no need to bother you, because I could check this in my_user_config.h file by myself. Sorry for that. But nevertheless I will need to add some features to the code to address this case. I will try to handle this next week.
I'm almost there but it requires polishing. I will probably publish new version next week.
Can you tell me how do you use tasmocompiler: Gitpod, docker image, started locally?
i used the online version with gitpod
Can you please check this branch on gitpod? https://gitpod.io/#https://github.com/benzino77/tasmocompiler/tree/pa/display-patch
There are some changes on features view (there is no SPI or I2C on the list - those features are included automatically). All you need to do is to check "display support" or "IO port expander" or any other feature. All needed functionality will be included. Additionally, if particular module has some parameters like I2C address, which can be changed by user, those settings will be prefilled in the text field of the next step: Custom Parameters.
Let me know if this works for you.
It is already merged to master branch. Docker images should be available in an hour.
I have the same problem, I need sensors and SSD1306 Oled at the same time, I compiled online with gitpod, I included the "display" features, but when I set "DisplayModel 2" from the Tasmota console of my WemosD1Mini, it doesn't consider it, so I can't use SSD1306! I also tried the above solution, but without positive result. Help me, please.
You probably need to read this: https://tasmota.github.io/docs/Universal-Display-Driver/ and this: https://github.com/arendst/Tasmota/releases/tag/v14.0.0 as from version v14 displays are handled by uDisplay driver.
Now everything is clearer to me, thanks to you, I haven't found any indications like yours on the internet. Thanks again, I'll do some testing, but I'm already sure I'll solve it.
I have read the migration steps, but I am not very good with ESP8266 code so I don't understand Step 4. Configure GPIOs, everything else seems ok to me.
Don't quote me on that, but I think you need to pick "unused" GPIO and set it to "Option A" with value "3". This is the picture I found here:
Look at GPIO 14 (D5). The value should be "3" instead of "2".
I don't know how to thank you, I'll try later.
It works! Thanks again dear
The Checkbox in the GUI for Display Support takes no effect in the compiled Files
At this Time it is possible to define via custom Parameters - Maybe you can fix this easy