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 12:c36bc59d120e, committed 2018-05-07
- Comitter:
- el16a2t
- Date:
- Mon May 07 00:02:49 2018 +0000
- Parent:
- 11:4907e6e7e855
- Child:
- 13:61aeeb4e4e47
- Commit message:
- also created another random variable so that each car sprite uses its own random variable rather than both having their co-ordinate set by the same random number. This stops both carsw being in the same lane one after another
Changed in this revision
| engine/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/engine/main.cpp Mon May 07 00:00:49 2018 +0000
+++ b/engine/main.cpp Mon May 07 00:02:49 2018 +0000
@@ -215,8 +215,6 @@
printf("pot_value = %f\n", pot_value);
float wait_time = pot_value/10;
-
-
lcd.refresh();
wait(0.1-wait_time);