ESP8266 and ESP32 Compatible Code Using Arduino IDE (Mac OSX and Windows) | WeMos BMP180

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 21

  • @bgable7707
    @bgable7707 4 роки тому

    WOW, this is a mouth full. EXCELLENT code, loving it!

  • @vladhristov2316
    @vladhristov2316 6 років тому

    I always liked your videos. Thank you!

    • @datasith
      @datasith  6 років тому

      Vlad, thank you for the kind comment. I'm happy that you find the videos useful!

  • @siddheshbarkale4102
    @siddheshbarkale4102 3 роки тому

    Excellent 👍🏼

  • @quaternion-pi
    @quaternion-pi 6 років тому

    Excellent, helpful tips! Thanks. Have you done a SPIFFS programming example tutorial with esp32?

    • @datasith
      @datasith  6 років тому

      Thank _you_ for watching, I'm glad you find the vid helpful! I haven't done an SPIFFS+ESP32 vid yet, but the code I wrote for the ESP8266 should port over. Let me know if that isn't the case.

  • @abobobo943
    @abobobo943 6 років тому

    nice video. thank you.

    • @datasith
      @datasith  6 років тому

      _Thank you_ for watching, and for the kind comment!

  • @siddheshbarkale4102
    @siddheshbarkale4102 3 роки тому

    How can esp8266 firebase Arduino Library replace with esp32 firebase Arduino Library?

  • @akthamahmed2171
    @akthamahmed2171 6 років тому

    Thanks, Man

    • @datasith
      @datasith  6 років тому +1

      I’m glad you liked it!

  • @FF7824
    @FF7824 4 роки тому

    Isn't there a little bug in the ESP32 code? The variable T is passed by value to the method. How does the return value get back into T. Shouldn't it be T=function() or function(&T)?

    • @datasith
      @datasith  4 роки тому

      Good point. Remember that there are two ways to pass by reference. You can give the function the address directly (the function would use * in its argument), or you can give the function the variable itself (the function would use & in its argument).
      For review: www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.cbclx01/cplr233.htm

  • @TheAlibigdeli
    @TheAlibigdeli 6 років тому

    nice and effective
    i have seen some other kind of declaring the boards to use like this:
    #ifdef ARDUINO_ESP32_DEV
    hmm how is that?

    • @datasith
      @datasith  6 років тому

      Thanks, Ali! There are two different macros defined when you compile using the ESP32 core for Arduino: ESP32 and ARDUINO_ARCH_ESP32.
      The second one relies on people correctly following the installation instructions (using the board manager), so that the architecture folder has the right name. I have seen instances where failing to do that creates a few problems, so I tend to use the first macro.

    • @TheAlibigdeli
      @TheAlibigdeli 6 років тому

      i see , thanks for the info :)

  • @madhusudhang8254
    @madhusudhang8254 5 років тому

    esp 32 will work as a broker?