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: CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses
Fork of REVO_Updated_Steering by
Revision 31:9aa1a2d7d1fb, committed 2014-10-30
- Comitter:
- tmccurbin
- Date:
- Thu Oct 30 23:42:36 2014 +0000
- Parent:
- 20:c3f4828f3cbc
- Commit message:
- Changed the name of function "request_status_change" to Drive_Request.; Changed "requesting change of drive status" to "Drive Mode Request..."
Changed in this revision
| Steering.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Steering.cpp Sat Oct 25 16:53:34 2014 +0000
+++ b/Steering.cpp Thu Oct 30 23:42:36 2014 +0000
@@ -207,7 +207,7 @@
}
-void request_status_change()
+void Drive_Request()
{
char drive_status_request = !drive_status;
@@ -227,9 +227,7 @@
display.ClearScreen();
display.SelectFont(Arial12,BLACK,ReadData);
display.GotoXY(26,16);
- display.PrintString("REQUEST SENT TO CHANGE\n\r DRIVE STATUS TO: \n\r");
- display.PrintString(status_string);
- display.PrintString(".\n\r");
+ display.PrintString("DRIVE MODE\n\r REQUEST...\n\r");
printf(status_string);
return;
@@ -296,7 +294,7 @@
{
if(biSWBL.read())
{
- request_status_change();
+ Drive_Request();
}
if(biSWBR.read())
{
