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 5:05f8a36b5cdd, committed 2014-10-04
- Comitter:
- tmccurbin
- Date:
- Sat Oct 04 17:55:27 2014 +0000
- Parent:
- 4:a4fb060e7840
- Child:
- 7:df257df56363
- Commit message:
- Removed TL and TR Button functionality.; Set BL to ON; BR to Reset
Changed in this revision
| Steering.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Steering.cpp Sat Oct 04 17:35:15 2014 +0000
+++ b/Steering.cpp Sat Oct 04 17:55:27 2014 +0000
@@ -1,5 +1,6 @@
#include "Steering.h"
+
void HomeScreen()
{
CANMessage Rxmsg;
@@ -268,26 +269,14 @@
while(1)
{
if(biSWBL.read())
- HomeScreen();
-
- if(biSWTR.read())
{
ON();
- wait(1);
- HomeScreen();
- }
- if(biSWTL.read())
- {
- ResetCommand();
- wait(1);
- HomeScreen();
+ //wait(1);
+ // HomeScreen();
}
if(biSWBR.read())
{
- if(screen)
- AMSScreen2();
- else
- AMSScreen1();
+ ResetCommand();
}
CAN_Steering.write(Txmsg_Drive);
wait(0.3);
