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.
Diff: main.cpp
- Revision:
- 1:b8b505e84b78
- Parent:
- 0:fc115f874555
- Child:
- 2:e6e11d6db1dc
--- a/main.cpp Thu Oct 15 02:28:50 2020 +0000 +++ b/main.cpp Thu Oct 15 02:33:43 2020 +0000 @@ -7,9 +7,10 @@ AnalogIn aI(p19); float T; int V; -V = (-3.88*10^(-6)*T^2)+(-1.15*10^(-2)*T)+1.8639; int main() { + +int V = (-3.88*10^(-6)*T^2)+(-1.15*10^(-2)*T)+1.8639; aI.read_u16()="V"; pc.printf("V=%d\r\n", V ); while(1) {