![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
tes ir atas semua
Dependencies: mbed ADS1115 StepperMotor SRF05 TPA81new
Diff: main.cpp
- Revision:
- 36:85c0bf43f4a4
- Parent:
- 35:c2af31894a91
--- a/main.cpp Wed Feb 06 16:21:38 2019 +0000 +++ b/main.cpp Wed Feb 06 17:20:43 2019 +0000 @@ -12,8 +12,8 @@ Serial pc(USBTX,USBRX); // TPA -TPA81 tpax(PB_9, PB_8, 0xDC); -TPA81 tpay(PB_9, PB_8, 0xDE); +TPA81 tpax(D14, D15, 0xDC); +TPA81 tpay(D14, D15, 0xDE); // Ultrasonik //SRF05 srf1(PC_13, PA_14); // trigger, echo @@ -79,6 +79,8 @@ } pc.printf("\n"); + wait(0.5); + // for (int i=0; i<200; i++) // { // s.step(1, 1, 1/WAIT_TIME);