Fraise  2.1
FRAmework for Interfacing Software and Electronics

Force-sensing linear potentiometers module. More...

Force-sensing linear potentiometers module.

Example:

Settings to put in config.h

These parameters can be set in the config.h of your firmware.

void FSLP_analog_preconf (unsigned char chan)
 
#define FSLP_D2CHAN
 FSLP_D2 and FSLP_SL must be analog input capable. FSLP_R0 must be connected to FSLP_SL through 4.7k.
 
#define FSLP_SLCHAN
 
#define FSLP_SLCHAN2
 

Initialization

void FSLP_Init ()
 Init the module in setup()