We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c026ba2 commit 2344db1Copy full SHA for 2344db1
examples/TouchPads/Touch_signals/Touch_signals.ino
@@ -0,0 +1,28 @@
1
+// Touch Buttons test
2
+
3
+#include <Arduino_MKRIoTCarrier.h>
4
+MKRIoTCarrier carrier;
5
6
+int msr[5];
7
8
+void setup() {
9
+ // put your setup code here, to run once:
10
+ //CARRIER_CASE = false; //No needed to use it, default false
11
+ Serial.begin(9600);
12
+ carrier.begin();
13
14
15
+}
16
17
+void loop() {
18
+ // put your main code here, to run repeatedly:
19
+ for (int i = 0; i < 5; i++) {
20
+ msr[i] = analogRead(i);
21
+ Serial.print(i);
22
+ Serial.print(" - ");
23
+ Serial.print(msr[i]);
24
+ Serial.print("\t");
25
+ }
26
+ Serial.println();
27
28
0 commit comments