Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: gloveSensorSend RoboticHand
flex_sensor.h
00001 /* library header for flex sensor */ 00002 00003 #ifndef FLEX_SENSOR_H 00004 #define FLEX_SENSOR_H 00005 00006 #include <mbed.h> 00007 00008 class flex_sensor 00009 { 00010 public: 00011 /* Constructor & Destructor */ 00012 flex_sensor( PinName pinno ); 00013 ~flex_sensor(); 00014 /* method */ 00015 unsigned short get_raw_value( void ); 00016 00017 private: 00018 AnalogIn *analog_in; 00019 }; 00020 00021 #endif /* FLEX_SENSOR_H */
Generated on Mon Jul 18 2022 17:27:12 by
1.7.2