stopmotor()

The function stops the specified motor of the Quarky.

runmotor()

The function sets the specified motor of the Quarky robot to the specified direction ("FORWARD" or "BACKWARD") and specified speed.

setorientation()

The function sets the orientation of the robot to align the left and right movement of the robot in horizontal robot position and vertical robot posit…

dolinefollowing()

The function performs the automatic line following logic with the parameters specified in the initializelinefollower() function.

stoprobot()

The function stops both the motors of the Quarky robot.

runtimedrobot()

The function moves the Quarky robot in the specified direction for the specified time. The direction can be “FORWARD”, “BACKWARD”, “LEFT”,…

runrobot()

The function moves the Quarky robot in the specified direction. The direction can be "FORWARD", "BACKWARD", "LEFT", and "RIGHT".

readanalogsensor()

The function returns the analog reading of the sensor connected to the specified analog pin of the Quarky. The value varies between 0 to 4095.

readdigitalsensor()

The function returns the state of the digital sensor connected to the specified pin of the Quarky.

Get in Touch!