mirror of https://github.com/ARMmbed/mbed-os.git
Merge branch 'patch-9' of https://github.com/janjongboom/mbed-os into rollup
commit
0597e33765
|
@ -6,7 +6,7 @@ int main(void) {
|
|||
TSISensor tsi;
|
||||
|
||||
while (true) {
|
||||
printf("slider percentage: %f%\r\n", tsi.readPercentage());
|
||||
printf("slider percentage: %f%%\r\n", tsi.readPercentage());
|
||||
printf("slider distance: %dmm\r\n", tsi.readDistance());
|
||||
wait(1);
|
||||
led = !led;
|
||||
|
|
Loading…
Reference in New Issue