d2r2 / go-sht3x Goto Github PK
View Code? Open in Web Editor NEWGolang library to interact with Sensirion SHT3x relative humidity and temperature sensor's family via I2C-bus from Raspberry PI.
License: MIT License
Golang library to interact with Sensirion SHT3x relative humidity and temperature sensor's family via I2C-bus from Raspberry PI.
License: MIT License
Using the example code found in this repo I am getting a CRC mismatch error when running it on my Onion Omega2+ compiled using Go 1.13.4.
2019-11-11T23:36:20.140 [ main] NOTICE **********************************************************************************************
2019-11-11T23:36:20.141 [ main] NOTICE *** !!! READ THIS !!!
2019-11-11T23:36:20.141 [ main] NOTICE *** You can change verbosity of output, by modifying logging level of modules "i2c", "sht3x".
2019-11-11T23:36:20.142 [ main] NOTICE *** Uncomment/comment corresponding lines with call to ChangePackageLogLevel(...)
2019-11-11T23:36:20.142 [ main] NOTICE *** !!! READ THIS !!!
2019-11-11T23:36:20.143 [ main] NOTICE **********************************************************************************************
2019-11-11T23:36:20.143 [ sht3x] DEBUG Reset sensor...
2019-11-11T23:36:20.144 [ i2c] DEBUG Write 2 hex bytes: [30a2]
2019-11-11T23:36:20.146 [ main] NOTICE **********************************************************************************************
2019-11-11T23:36:20.147 [ main] NOTICE *** Read sensor states
2019-11-11T23:36:20.147 [ main] NOTICE **********************************************************************************************
2019-11-11T23:36:20.148 [ sht3x] DEBUG Getting heater status...
2019-11-11T23:36:20.148 [ i2c] DEBUG Write 2 hex bytes: [f32d]
2019-11-11T23:36:20.150 [ i2c] DEBUG Read 3 hex bytes: [8010ff]
2019-11-11T23:36:20.150 [ main] FATAL CRCs doesn't match: CRC from sensor (0xFF) != calculated CRC (0xE1)
This project is packaged for Debian: https://tracker.debian.org/pkg/golang-github-d2r2-go-sht3x
There are no releases to track. So it is unknown when we should update the package and if it is safe to update. Please create a first release. In case you are unfamiliar with it, you can read about versioning here (since the version number have a meaning):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.