Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By anakod
#12742
and i2c OLED 1366, can it use the ads fruit library or ug8lib

Sming itself implement compatibility with Arduino libraries (but not AVR-level), and for displays it's using Adafruits library (it's really working without changes). You can add new libraries, if you want.

so can it do mqtt too, does it have a lib for that?

Yes, full MQTT support should be implemented soon!

also i'd say sming needs to ditch the awful makefiles from espressif and use the tidier ones from nodemcu which make use of esptool.py

Sming doesn't include any special build\compile system. It's just use UDK toolchain. So it's question for UDK. But i'm think, what not many Windows users have installed Python, an as result scripts compiled to EXE files for portability. Sming is just high-level framework under Espressif SDK code. If someone make pull-request for Linux make files too, I wil be very grateful, but it should work under Windows too. All paths was written as constants for this goal.

I tried to compile it with esp-open-sdk ,but I got this error https://github.com/anakod/Sming/issues/10

Very strange, can some one else confirm with bug or give additional information? I will look it too.
User avatar
By anakod
#12888 Added Server AJAX example:

https://github.com/anakod/Sming/blob/ma ... cation.cpp

Simple jQuery access:
Code: Select all      $(".switch-freq").click(function() {
         var freq = $(this).attr('data-value');
         $.getJSON('ajax/frequency', {value: freq}, function(data) {
            $("#display-freq").text(data.value);
         });
      });


Image