Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <CapacitiveSensor.h>
- void setup() {
- Serial.begin(9600);
- }
- void loop() {
- long sensorValue = capSensor.capacitiveSensor(30);
- Serial.printIn(sensorValue);
- delay(400);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement