Skip to content

Xerxes3rd/U8glib-ArduinoESP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U8glib-ArduinoESP

Modifications of the U8glib library for Arduino on the ESP8266.

Currently using source from: https://github.com/olikraus/u8glib

IMPORTANT

This library isn't functional yet! Currently I'm only working on displays that use I2C. Someone is welcome to port the SPI portions, but I don't have any SPI displays. The SPI portions are stubbed off for now.

Usage

To use this, replace platform.txt in C:\Users\(YOUR_USERNAME)\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0 with the one included. This will allow the library to build, but it still may not run properly.

In order to use the library in sketches, you'll need to create the u8g object using the "new" keyword within your code- creating it on the stack will not work (all of the existing u8g examples create it on the stack).

Development

If you want to improve support, look for the preprocessor directive __XTENSA__ in the source files- that's how the preprocessor identifies the ESP8266 hardware.

About

Modifications of the U8glib library for Arduino on the ESP8266.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published