From what I see in the video: Programming on the ESP32 is done in Python 2.7 only. I am trying to learn Python 3 and probably won't go back to 2.7.
You are using C++. I did not know that works.
Can you use other compilers?
I down loaded Arduino and looked through the list of "IOT" options trying to find out what modules and what compilers work together. Hurt my head. lol
Hi,
Well am only just beginning with ESP32 but from what I have read you can use several languages with the chips, Espressifs own, Lua, Python, Arduino C++ etc.
As can be seen from that Arduino ytube it needs Python as well, so expect its running somewhere under the front end compliers like Arduino C++ ..?
Seems v2.7 is recommended as they say v 3 has some compatability issues with ESP32 ...??
Have got a lot of testing to do to see how compatible with standard Arduino examples it is, have tested pwm but seems you cannot use the standard analogueWrite , you have new routines as the ESP32 analogue has more features.
Expect analogueRead will be similarly different as the ESP32 is 12bit instead of 8bit.
eg AnalogWrite( LED,255)
ESP32
setup
ledcSetup(ledChannel, freq, resolution);
ledcAttachPin(LED_BUILTIN, ledChannel);
loop
ledcWrite(ledChannel, dutyCycle);
Plenty of code examples come with the download of the ESP32 package shown in that video.
( did try a different video originally but it did not load in correctly, the one above did)