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:98bd0c4131d8
- Parent:
- 0:fe11ae12c823
diff -r fe11ae12c823 -r 98bd0c4131d8 main.cpp --- a/main.cpp Tue Jun 28 15:09:08 2022 +0000 +++ b/main.cpp Tue Jun 28 16:07:52 2022 +0000 @@ -42,7 +42,7 @@ pc.printf("FRONT STARTED\n"); led1 = !led1; while(1) { - double num = (double) steeringIn.read(); + float num = (float) steeringIn.read(); sendCANMessage(num, steeringMessageID); led1 = !led1; led2 = !led2;