#include "Behaviors/StateMachine.h"

$nodeclass HW1_Prob1 : StateNode {
  $setupmachine {
    wait: LedNode [getMC()->set(RobotInfo::GreenLEDMask, 0.0)]
    wait =B(RobotInfo::GreenButOffset)=> blink

    blink: LedNode [getMC()->cycle(RobotInfo::GreenLEDMask, 200, 1.0)]
    blink =T(1000)=> wait
  }
}

REGISTER_BEHAVIOR(HW1_Prob1);
