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 mbed-rtos Linear_Stepper_Motor_Nema17
Fork of Sliding_Camera_Rail by
Diff: main.cpp
- Revision:
- 1:8134c43fdb08
- Parent:
- 0:59fcbfc00e50
- Child:
- 2:7facfc9e53ff
--- a/main.cpp Tue Apr 28 21:39:27 2020 +0000 +++ b/main.cpp Tue Apr 28 21:52:25 2020 +0000 @@ -1,3 +1,10 @@ +/* Written by Michael Marzano +ECE 4180 Final Project +Sliding Camera Rail + +Souce code for the camera rail +*/ + #include "mbed.h" #include "rtos.h" #include "lin_step_mtr.h" @@ -20,8 +27,8 @@ ***********/ LinStepMtr mtr(p19, p20, p17, p18); // for linear motor, coresponds t0 A,A',B,B' BusOut lights (LED4,LED3,LED2,LED1); -//Serial xbee(p28,27); -Serial xbee(USBTX,USBRX); +Serial xbee(p28,p27); +//Serial xbee(USBTX,USBRX); /******** * Enums *