0

Compare the YouTube video and this webpage, the former one made programming very different in ESP32 and that was in Arduino nano, while the webpage seemed to imply that they work exactly the same.

Can we use the same code for standard Arduino library, like wire library, for ESP32 and ESP8266, or do we have to do something different?

  • 2
    in the video he doesn't use Arduino, but the Espressif IDF framework directly. the Arduino esp32 boards package has the Wire library for Arduino – Juraj Feb 8 at 18:39
  • @Juraj so does ESP 32 and ESP 8266 used exactly like Arduino for standard libraries? I heard the methods of pin labels were a little bit different. – ShoutOutAndCalculate Feb 8 at 21:49
  • 1
    I had no trouble to use the same sketch with Wire library on Uno and esp8266 – Juraj Feb 9 at 5:57
  • 1
    software is the same. watch the voltages and pullups. – dandavis Feb 9 at 20:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.