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:
- 2:7facfc9e53ff
- Parent:
- 1:8134c43fdb08
- Child:
- 3:e1fd0b211fcd
--- a/main.cpp Tue Apr 28 21:52:25 2020 +0000 +++ b/main.cpp Wed Apr 29 03:04:02 2020 +0000 @@ -25,10 +25,11 @@ /*********** * Hardware * ***********/ -LinStepMtr mtr(p19, p20, p17, p18); // for linear motor, coresponds t0 A,A',B,B' +LinStepMtr mtr(p19, p20, p17, p18); // for linear motor, coresponds to A,A\,B,B\ BusOut lights (LED4,LED3,LED2,LED1); +//Serial xbee(USBTX,USBRX); Serial xbee(p28,p27); -//Serial xbee(USBTX,USBRX); +DigitalOut xbee_rst(p26); //Digital reset for the XBee, 200ns for reset /******** * Enums *