sensirion / raspberry-pi-i2c-sen5x Goto Github PK
View Code? Open in Web Editor NEWC driver to work with Sensirion's SEN5x environmental sensor modules via I2C
License: BSD 3-Clause "New" or "Revised" License
C driver to work with Sensirion's SEN5x environmental sensor modules via I2C
License: BSD 3-Clause "New" or "Revised" License
I saw this library last week. It seems only support C.
Is there a particular reason why there is a separation between this Raspberry Pi code base and the Generic Embedded (https://github.com/Sensirion/embedded-i2c-sen5x) code base for SEN5x? Both repos have what appear to be the same common code, with a hardware abstraction layer, and implementations for each platform. Why not just have a single repo with back-ends for RPi and embedded devices?
I encountered an error when running cd ./sen5x_i2c_example_usage . When it ran, it gave errors in executing all functions saying (for example) "Error executing sen5x_device_reset(): -1". What can be done to fix this error? Thanks!
I changed sen5x_i2c_example_usage.c so it generates one output per minute for several hours. After 80 to 100 minutes it always starts to output only "nan".
If I start a second process in a second terminal in parallel it will sometimes start to output values again in both processes (probably due to the device_reset) or it will return errors regarding device_reset, reading_product_name, etc.
Any idea why this happens?
Userspace hacks like this are very frustrating for professional developers. Please do the right thing and contribute a driver to the Linux kernel itself.
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.