Giter Club home page Giter Club logo

co2-device's People

Contributors

asaaki avatar mirabellensaft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

co2-device's Issues

Program gets stuck, maybe wrong Pins are used.

The when using any of the functions of the SCD30 driver on the sensor instance, the program gets stuck. This may be related to using the wrong pins to instantiate the sensor. The result is the same, if the current pins for scl and sda are used, or if the accelerometer pins.

Backtracing in gdb shows this:

(gdb) bt
#0  0x00002312 in nrf52832_pac::twim0::events_lasttx::<impl nrf52832_pac::twim0::EVENTS_LASTTX>::read (self=0x40003160)
    at /Users/tanks/.cargo/registry/src/github.com-1ecc6299db9ec823/nrf52832-pac-0.8.0/src/twim0/events_lasttx.rs:26
#1  0x00001e74 in nrf52_hal_common::twim::Twim<T>::write (self=0x2000ffe6, address=97, buffer=...)
    at /Users/tanks/.cargo/registry/src/github.com-1ecc6299db9ec823/nrf52-hal-common-0.8.1/src/twim.rs:160
#2  0x0000205c in <nrf52_hal_common::twim::Twim<T> as embedded_hal::blocking::i2c::Write>::write (self=0x2000ffe6, addr=97, bytes=...)
    at /Users/tanks/.cargo/registry/src/github.com-1ecc6299db9ec823/nrf52-hal-common-0.8.1/src/twim.rs:381
#3  0x00000b2a in scd30::scd30::Scd30<T>::soft_reset (self=0x2000ffe6) at /Users/tanks/.cargo/git/checkouts/scd30-rs-24cca21ab41f2a0f/0ae24d2/src/scd30.rs:66
#4  0x00000da4 in main () at src/main.rs:50
(gdb) 

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.