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 a40a424 commit 7c57042Copy full SHA for 7c57042
examples/03.Sensors/Piezo_Frequency/Piezo_Frequency.ino
@@ -59,6 +59,7 @@ void updateControl(){
59
Serial.print(piezo_value);
60
Serial.print("\t \t"); // prints 2 tabs
61
62
+ int frequency = piezo_value/2; // do whatever you like with the piezo value
63
// print the frequency to the Serial monitor for debugging
64
Serial.print("frequency = ");
65
Serial.print(frequency);
0 commit comments