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: mbed
Diff: main.cpp
- Revision:
- 1:9f4263a875ce
- Parent:
- 0:7d1b333d6f0b
--- a/main.cpp Mon Dec 21 07:25:45 2020 +0000 +++ b/main.cpp Mon Dec 21 15:26:39 2020 +0000 @@ -20,7 +20,6 @@ void sensor1rise() { Timer1.start(); - } void sensor1fall() @@ -36,11 +35,10 @@ if (count == 13) { - pc.printf("T1 : %d \r\n",(int)T1); + //pc.printf("T1 : %d \r\n",(int)T1); //pc.printf("Snelheid in m/s : %.5f \r\n",Snelheid); pc.printf("%.5f \r\n",Afstand); - //pc.printf("count1 : %d \r\n", count1); - //pc.printf("\r\n"); + //c.printf("\r\n"); count = 1; } } @@ -56,6 +54,7 @@ //Snelheid berekenen. Snelheid = 0.075 / (T1 * 0.000001); //0.24 + } void sensor2fall()