- Thu Jul 16, 2015 5:30 pm
#23459
danbicks wrote:willfly,
Got to say some of the nicest structured coding I have seen on this forum!. Superb work.
I have some I2c Oled SD1306, is the library you use compatible for this? Another question how did you build the drawLogo() function to convert an image in to string sets?
What does the #define CONFIG_VALID_NUM 4296 define?
How do I get this to display weather in my local town in England?
I am going to have loads of these scattered around the house, great use for the large stock of modules I have.
Cheers buddy very inspiring
Dans
I am using ESP_SSD1306 library, and it should be able to handle I2C displays. Logo gets sent as an SVG image which is text. There are couple of online websites that convert an image to svg format.
EEPROM read will return whatever junk is stored in that memory location and coerce it to data type we ask for. So by reading a known memory location with a known value, we verify that data stored in flash memory is good to use.
To find out the city ID for your city, browse
http://openweathermap.org/ and search for your city. London for e.g. is 2643743.
Glad to be able to help. I am reworking the 3D part and adding ventilation holes, since ESP tends to get hot inside. I will also change it from AP+STA mode to STA mode, so that ESP can make use of LIGHT_SLEEP_T and conserve some power. Its still a work in progress.