get_line_sensor()

Function Definition: get_line_sensor( )

Parameters

NameTypeDescriptionExpected ValuesDefault Value
intThis function returns the numeric reading from the selected infrared line sensor. It is useful for detecting contrasting surfaces and developing line-following robots.

Description

This function returns the numeric reading from the selected infrared line sensor.

It is useful for detecting contrasting surfaces and developing line-following robots.

Example

There are no examples documented for this article.