Skip to content

Simplifies the process of setting up and using sensors in Arduino. Currently has both ultrasonic and IR compatibilities.

License

Notifications You must be signed in to change notification settings

MitchellShibilski-Unkel/ArdSensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

ArdSensor

Simplifies the process of setting up and using sensors in Arduino. Currently has both ultrasonic and IR compatibilities.

How to use

Both the ultrasonic and IR classes are very similar in the setup process and how they work. They both have a .begin() function to setup your sensor; please put in the void setup(). They have a single function to get their data; ultrasonic = .getData & IR = .getValue; please put either of those in the void loop(). Also, please use .returnValue() or .returnData() to get the data back to you/returned to you.

Example

 Ultrasonic example;

 void setup() {
   example.begin(9, 8);
 }

About

Simplifies the process of setting up and using sensors in Arduino. Currently has both ultrasonic and IR compatibilities.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages