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
Revision 1:98bd0c4131d8, committed 2022-06-28
- Comitter:
- samh25
- Date:
- Tue Jun 28 16:07:52 2022 +0000
- Parent:
- 0:fe11ae12c823
- Commit message:
- 2
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;