-->
Page 3 of 49

Re: Sming Open Source Framework - native ESP8266 development

PostPosted: Fri Mar 27, 2015 11:29 am
by anakod
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.

Re: Sming Open Source Framework - native ESP8266 development

PostPosted: Sat Mar 28, 2015 10:27 pm
by anakod
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

Re: Sming Open Source Framework - native ESP8266 development

PostPosted: Sat Mar 28, 2015 11:44 pm
by alon24
I have oled 0.96 i2c on pins 12 and 13
How do I use the oled example?


I tried:
Adafruit_SSD1306 display(12, 16, 13);
but it did not show anything on screen,
Can you help?

Re: Sming Open Source Framework - native ESP8266 development

PostPosted: Sat Mar 28, 2015 11:55 pm
by terenceang
How do log on to HTTPS servers .. e.g wwww.google.com