Different ways to program ESP8266
Posted: Thu Sep 01, 2016 11:18 am
Hi,
I'm new to ESP programs and I'm totally lost.
I dont want to use LUA but C instead. I found many PDF or documentation about ESP but it's really hard to understand the environnement .
I've tried Arduino IDE with ESP installed, but I dont like how that IDE want to organize projects with multiple source files (maybe do you have a good llink about that ?)
So I've switched to minGW + tools and everything is working fine.
But then, I'm totally puzzled about documentation and different ways to program ESP. Some docs are using functions like pinMode(), digitalWrite(). Other include files like ESP8266WiFi.h to connect to Wifi via a single call to WiFi.begin(), while I'm using a lots of code lines with wifi_set_opmode(), wifi_station_set_config()....
I understand ESP could work with two different OS (non OS and RTOS), but I've certainly missed a good documentation that explain the difference between the two, how to set up a dev plateform for each and where I could find API documentation about both (I already have "2c-esp8266_non_os_sdk_api_reference_en.pdf" and "20b-esp8266_rtos_sdk_api_reference_v1.4.0_0.pdf").
Thanks.
I'm new to ESP programs and I'm totally lost.
I dont want to use LUA but C instead. I found many PDF or documentation about ESP but it's really hard to understand the environnement .
I've tried Arduino IDE with ESP installed, but I dont like how that IDE want to organize projects with multiple source files (maybe do you have a good llink about that ?)
So I've switched to minGW + tools and everything is working fine.
But then, I'm totally puzzled about documentation and different ways to program ESP. Some docs are using functions like pinMode(), digitalWrite(). Other include files like ESP8266WiFi.h to connect to Wifi via a single call to WiFi.begin(), while I'm using a lots of code lines with wifi_set_opmode(), wifi_station_set_config()....
I understand ESP could work with two different OS (non OS and RTOS), but I've certainly missed a good documentation that explain the difference between the two, how to set up a dev plateform for each and where I could find API documentation about both (I already have "2c-esp8266_non_os_sdk_api_reference_en.pdf" and "20b-esp8266_rtos_sdk_api_reference_v1.4.0_0.pdf").
Thanks.