FSR
Dependents: FSR_hello_world FINAL_PROJECT Pousse_seringue_Ulg 0__Pousse_seringue ... more
Revision 4:8fe7b7425ce0, committed 2015-10-22
- Comitter:
- cshao06
- Date:
- Thu Oct 22 16:57:49 2015 +0000
- Parent:
- 3:6fc368701789
- Child:
- 5:d9520bf7eb9e
- Commit message:
- FSR
Changed in this revision
| FSR.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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)
* {
Force Sensitive Resistors (FSR)