Skip to content

OliverMartini/SparkCore-PIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

SparkCore-PIR

A simple PIR libary for Spark Core.

Components Required

Example Usage

See this example for details, or, in a nutshell:

OM::Pir pir(D0);
void setup() {
  pir.setupPinMode();
}
void loop() {
  if (pir.calibrated()) {
    pir.readTheSensor();
    // calibrate and read the sensor. When value changed, perform action
  }
}

Useful Links

About

A simple PIR libary for Spark Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages