AnalogIn Hello World
Dependencies: mbed
Use
The AnalogIn API is useful for checking the level of an analog input. The value read from the input is between 0.000 and 1.000 . This number represents a percentage of the input reference voltage. For example, a reading of 0.3 with an input voltage of 3.3V would mean the input is 30% of 3.3V or 0.99V . If in the input was 5V then a reading of 0.3 would mean 0.3*5=1.5V .
API
API reference.
Import librarymbed
Changes
| Revision | Date | Who | Commit message |
|---|---|---|---|
| 3:e36e651ab7f2 | 2016-11-06 | MACRUM | Avoid implicitly converted warning. Update libraries. |
| 2:aae9d053cb5d | 2014-09-21 | mbedAustin | added commend for clarity |
| 1:69490e603ed5 | 2014-09-21 | mbedAustin | updated libs |
| 0:ea5527eaa968 | 2013-02-12 | mbed_official | AnalogIn Hello World |
mbed_example