Skip to content

junichikatsu/CDM7160

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CDM7160(Co2センサー)用ライブラリ

CDM7160をWio LTEに接続するためのライブラリです。

How To Use

Include library(#include <CDM7160.h>), and write a code like below.

CDM7160 co2;

WioLTE Wio;

void setup() {
  Wio.Init();
  Wio.PowerSupplyGrove(true);
  co2.begin();
}

void loop() {
  if(co2.readData()){
    SerialUSB.print("  CO2: ");
    SerialUSB.print(co2.getCo2());
    SerialUSB.println("");
  }
  delay(1000);

LICENSE

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages