Skip to content
Snippets Groups Projects
Commit 3a308fee authored by Jake Read's avatar Jake Read
Browse files

verbose blink

parent 44a7ce67
Branches
No related tags found
No related merge requests found
......@@ -119,19 +119,20 @@ void setup() {
// -------------------------------------------------------- LOOP
#define CLK_TICK 50
#define CLK_TICK 250
unsigned long last_tick = 0;
void loop() {
// do osap things,
osapLoop();
limitHit() ? BUSLIGHT_ON : BUSLIGHT_OFF;
//limitHit() ? BUSLIGHT_ON : BUSLIGHT_OFF;
// do homing things, if need be:
if(getHomeState() != HOMESTATE_NONE) runHomingRoutine();
// blink
if(millis() > last_tick + CLK_TICK){
// step_a4950_step();
last_tick = millis();
BUSLIGHT_TOGGLE;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment