ForceSensor
===========
.. image:: images/45606_prod_TECHNIC_Force_Sensor_01_200.png
:width: 200
:alt: The LEGO Force Sensor
|location_link|
.. |location_link| raw:: html
LEGO® Force Sensor Set 45606e
|location_link2|
.. |location_link2| raw:: html
BrickLink item
The LEGO® Education SPIKE™ Prime Force Sensor (also known as the LEGO® Technic Force Sensor) can measure pressure of up to 10 newtons (N), but it can also be used as a touch sensor or a simple button.
.. autoclass:: buildhat.ForceSensor
:members:
:inherited-members:
Example
-------
.. literalinclude:: force.py