Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Osakana3
    O
    • Continue chat with Osakana3
    • Start new chat with Osakana3
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Osakana3

    @Osakana3

    0
    Reputation
    1
    Posts
    573
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Osakana3 Follow

    Posts made by Osakana3

    • M5Stamp C3U × /OneWire.h error. Has anyone run into the same error?

      I included the Onewire.h library to use the DS18B20 temperature sensor in C3U, but I get the following error message "Error compiling for board STAMP-C3.

      C:\Users******\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h:131:25: error: no match for 'operator>>' (operand types are 'volatile gpio_dev_s::<unnamed union>' and 'uint32_t' {aka 'long unsigned int'})
      return (GPIO.in >> pin) & 0x1;

      When the same code was compiled into M5Stack Basic, the compilation was able to run without error.
      Does anyone know the solution?

      posted in PRODUCTS
      O
      Osakana3