- Code: Select all
// Macro to toggle Output 1 (Port 1) 5 times
int LOOP_COUNT = 0;
while (LOOP_COUNT < 5)
{
exec.Setoutpin(1,1);
exec.Code ("G4 P0.5");
exec.Clroutpin(1,1);
exec.Code ("G4 P0.5");
LOOP_COUNT++;
}
// Macro to toggle Output 1 (Port 1) 5 times
int LOOP_COUNT = 0;
while (LOOP_COUNT < 5)
{
exec.Setoutpin(1,1);
exec.Code ("G4 P0.5");
exec.Clroutpin(1,1);
exec.Code ("G4 P0.5");
LOOP_COUNT++;
}
Return to Ask a question from support here
Users browsing this forum: Bing [Bot] and 7 guests