Closed spapadim closed 7 years ago
Update: tested working on ILI9341 (short demo: https://youtu.be/lZhOVc7NHEI -- ~15fps across the board).
Changes commited to my fork.
Also, these short diffs need to be applied to the installed Arduno ESP package: https://gist.github.com/spapadim/a4bc258df47f00831006
@spapadim I want to use this lib on my ESP8266. Any progress since your last comment? I checked your github repository, but I need some help how to add it to the Arduino IDE libraries.
Info via PM on Arduino Forum: habe es hinbekommen, dass die ucglib am ESP8266 läuft. Bisher keine Auffälligkeiten, hab aber nur drawstring und box sowie frame und setcolor, setfont und setfontmode verwendet.
Dafür musste ich eigentlich nur in der Ucglib.cpp in der Zeile 774 folgendes ändern:
von:
auf:
hi @olikraus i've submitted an pull request to the another repo. it's working for me! https://github.com/olikraus/Ucglib_Arduino/pull/3
done
Working on porting this, currently I have it compiling fine, see: https://github.com/spapadim/ucglib (Note: If you want to try this code, Arduino for ESP does not enable -Wl,--gc-sections flag, but just modifying platform.txt to add the necessary compile and link flags seems to have done the trick -- I'll file a separate issue there)
Once I have it tested on an actual device (on it's way from China :), I can create an PR, if you're interested. If you are, there are a few questions I have about your preferred coding style (and some housecleaning I'd like to do to my changes).