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.
Lcm101 Class Reference
Simple class to read out an LCM101 S-beam force sensor connected to an analog input. More...
#include <lcm101.h>
Public Member Functions | |
| Lcm101 (PinName pin_a_in, float offset, float factor) | |
| float | getForceRaw () |
| float | getForce () |
| float | get_offset () |
| float | get_factor () |
Detailed Description
Simple class to read out an LCM101 S-beam force sensor connected to an analog input.
Definition at line 10 of file lcm101.h.
Constructor & Destructor Documentation
| Lcm101 | ( | PinName | pin_a_in, |
| float | offset, | ||
| float | factor | ||
| ) |
Member Function Documentation
| float get_factor | ( | ) |
| float getForce | ( | ) |
- Returns:
- force value kOffset_ + kFactor_ * getForceRaw();
Generated on Mon Aug 1 2022 05:08:24 by
1.7.2