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 ros_lib_kinetic
Revision 15:aeb817f93336, committed 2018-12-14
- Comitter:
- MikeGray92
- Date:
- Fri Dec 14 22:35:36 2018 +0000
- Parent:
- 14:97804177806d
- Commit message:
- Removed some unused code
Changed in this revision
| lift.cpp | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/lift.cpp Fri Dec 14 22:05:56 2018 +0000
+++ b/lift.cpp Fri Dec 14 22:35:36 2018 +0000
@@ -21,7 +21,7 @@
startFlag = 0;
}
else {
- value1.write(1);
+
if(startFlag == 0){
startHallInt();
startFlag = 1;
--- a/main.cpp Fri Dec 14 22:05:56 2018 +0000
+++ b/main.cpp Fri Dec 14 22:35:36 2018 +0000
@@ -53,9 +53,6 @@
// Main Loop
while (1) {
- //LED Inputs
- value0.write(0);
- value1.write(0);
//ROS Functions
nh.spinOnce();
rosCheck();