Giter VIP home page Giter VIP logo

sensor_sht21's People

Contributors

wolfram77 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

sensor_sht21's Issues

compile ok, error running

Hi Wolfram,

downloaded your code and tried it out. The code compiles ok ,but when flashing and monitoring it gives me the following errors. I have GDBstub enabled.

==========================================================
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x40086458
0x40086458: _esp_error_check_failed at /home/patrick/esp/esp-idf/components/esp32/panic.c:724

file: "/home/patrick/esp/sht21/main/main.c" line 41
func: sht21_register
expression: i2c_master_cmd_begin(port, h, 1000 / portTICK_RATE_MS)

ELF file SHA256: 01751c59776f0d17ea72f11b46e19733445d8fd9eb7c5cf9f42fe1e1d0c59ba0

Backtrace: 0x40085ec9:0x3ffb5570 0x4008645b:0x3ffb5590 0x400d23f4:0x3ffb55b0 0x400d261f:0x3ffb55d0 0x400d0c6e:0x3ffb5600 0x40088d45:0x3ffb5620
0x40085ec9: invoke_abort at /home/patrick/esp/esp-idf/components/esp32/panic.c:719

0x4008645b: _esp_error_check_failed at /home/patrick/esp/esp-idf/components/esp32/panic.c:725

0x400d23f4: sht21_register at /home/patrick/esp/sht21/main/main.c:41 (discriminator 1)

0x400d261f: app_main at /home/patrick/esp/sht21/main/main.c:96

0x400d0c6e: main_task at /home/patrick/esp/esp-idf/components/esp32/cpu_start.c:558

0x40088d45: vPortTaskWrapper at /home/patrick/esp/esp-idf/components/freertos/port.c:403

seems to be issue with the i2c_master_cmd_begin function, which is weird considering that it's part of the library. Can you advise how you are compiling the code , environment details ,and if you have successfully retrieved data from the SHT21 ? thx.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.