Table of Contents

setlinefollowerparameter()

Function Definition: setlinefollowerparameter(set_sensor = 'left', set_pin = 'A1')

Parameters

NameTypeDescriptionExpected ValuesDefault Value
set_sensorstringSet the sensor of Quarky'left', 'right' or 'middle''left'
set_pinstringSet pin of of sensor for Quarky'A1', 'A2' or 'D1''A1'

Description

You can use it to change and set a custom (IR) or an external IR module with analog pin for line following.”

The left IR corresponds to the default Quarky Left IR, while the right IR corresponds to the default Quarky Right IR.

setlinefollowerparameter(‘left’,‘A1’)

 

Example

There are no examples documented for this article.