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.
Dependencies: Camera_LS_Y201 EthernetInterface EthernetNetIf HTTPClient SRF05 TextLCD mbed-rtos mbed-src
capteur_tasse.cpp
- Committer:
- projetmacintel
- Date:
- 2014-01-15
- Revision:
- 0:43669f623d43
File content as of revision 0:43669f623d43:
#include "capteur_tasse.h" SRF05 capteurTasse(p10, p9); bool tasseEnPlace() { return getDistanceDetectee() < 7; } int getDistanceDetectee() { return (int)capteurTasse.read(); } void attlendreUnMouvement() { wait(3); }