comissioning ESC

This commit is contained in:
2018-08-13 14:04:40 +02:00
parent 0ed2ef7e43
commit 55a82707a0
3 changed files with 69 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ open subprog SP_RelBrk
Motor[3].IdCmd=1000;Motor[3].InPosBand=2
Motor[4].IdCmd=1000;Motor[4].InPosBand=2
Motor[5].IdCmd=1000;Motor[5].InPosBand=2
PowerBrick[1].GpioData[0].16.5=$1f
PowerBrick[0].GpioData[0].16.5=$1f
//send 1"wait\n"
//EndTime = Sys.Time + .1; // time + 10 sec.
//while (EndTime > Sys.Time){}
@@ -85,7 +85,7 @@ open subprog SP_LockBrk
Motor[3].IdCmd=0;Motor[3].InPosBand=10
Motor[4].IdCmd=0;Motor[4].InPosBand=10
Motor[5].IdCmd=0;Motor[5].InPosBand=10
PowerBrick[1].GpioData[0].16.5=$0
PowerBrick[0].GpioData[0].16.5=$0
close