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-rtos mbed PinDetect
Fork of FinalMotorControl by
Revision 9:1636083fce43, committed 2016-04-26
- Comitter:
- mjhaugsdal
- Date:
- Tue Apr 26 12:05:57 2016 +0000
- Parent:
- 8:5703dadaed07
- Child:
- 10:17a16ceb376b
- Commit message:
- Removed engine 2 and 3
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Apr 26 11:03:23 2016 +0000
+++ b/main.cpp Tue Apr 26 12:05:57 2016 +0000
@@ -10,6 +10,7 @@
DigitalOut IN3(A2);
DigitalOut IN4(A3);
//Second engine 5-8
+/*
DigitalOut IN5(D3);
DigitalOut IN6(D4);
DigitalOut IN7(D5);
@@ -18,12 +19,12 @@
DigitalOut IN9(D8);
DigitalOut IN10(D9);
DigitalOut IN11(D10);
-DigitalOut IN12(D11);
+DigitalOut IN12(D11); */
static int fart = 1000;
static char m_cmd = 'x';
-
+/*
void step4Right3()
{
@@ -81,6 +82,7 @@
IN8=1;
wait_us(fart);
}
+*/
void step4Right1()
{
//engine 1
@@ -109,6 +111,7 @@
wait_us(fart);
}
+/*
void step4Left3()
{
//engine 2
@@ -175,7 +178,7 @@
wait_us(fart);
}
-
+*/
void step4Left1()
{
//engine 1
