Library to read rawdata from an FSR
Dependents: K64F-RTOS-MQTT-Example
Fork of FSR by
Diff: FSR.h
- Revision:
- 4:8fe7b7425ce0
- Parent:
- 3:6fc368701789
- Child:
- 5:d9520bf7eb9e
--- a/FSR.h Wed Oct 21 21:22:53 2015 +0000 +++ b/FSR.h Thu Oct 22 16:57:49 2015 +0000 @@ -9,7 +9,7 @@ * @code * #include "mbed.h" * #include "FSR.h" - * FSR fsr(p17, 10); // a 10k resistor is used + * FSR fsr(p20, 10); // Pin 20 is used as the AnalogIn pin and a 10k resistor is used as a voltage dividor * int main(){ * while (1) * {