Difference between revisions of "Sensirion SCD30"

From Teknologisk videncenter
Jump to: navigation, search
(Created page with " =Links= *https://sensirion.com/products/catalog/SCD30 *https://github.com/Sensirion/embedded-i2c-scd30/tree/master Category:Embedded")
 
m
 
Line 1: Line 1:
  
  
 +
=Linux=
 +
#Git clone https://github.com/Sensirion/embedded-i2c-scd30.git
 +
#copy linux C file from sample-implementations to main folder
 +
# make all
 +
# Change I2C_DEVICE_PATH to system i2c bus in sensirion_i2c_hal.c
 +
# make all
 +
#Run ./scd30_i2c_example_usage
 +
 +
Adapt to your project
  
 
=Links=
 
=Links=

Latest revision as of 10:22, 18 November 2024


Linux

  1. Git clone https://github.com/Sensirion/embedded-i2c-scd30.git
  2. copy linux C file from sample-implementations to main folder
  3. make all
  4. Change I2C_DEVICE_PATH to system i2c bus in sensirion_i2c_hal.c
  5. make all
  6. Run ./scd30_i2c_example_usage

Adapt to your project

Links