co2-device's People
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)
3.3V Pins on dmw1001-dev deliver 0V
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.