mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-16 22:27:59 +03:00
17 lines
240 B
C++
17 lines
240 B
C++
#include <CapacitiveSensorDue.h>
|
|
|
|
|
|
|
|
CapacitiveSensorDue cs_13_8 = CapacitiveSensorDue(13,8);
|
|
void setup()
|
|
{
|
|
Serial.begin(9600);
|
|
}
|
|
void loop()
|
|
{
|
|
long total1 = cs_13_8.read(30);
|
|
Serial.println(total1);
|
|
delay(100);
|
|
}
|
|
|