pyupm_grovelinefinder module

class pyupm_grovelinefinder.GroveLineFinder(pin)[source]

Bases: object

API for the Grove Line Finder Sensor.

Deprecated This class is being replaced by LineFinder

ID: grovelinefinder

Name: Line Finder

Category: color

Manufacturer: seeed

Connection: gpio

Kit: robok UPM module for the Grove Line Finder sensor. It outputs a digital signal indicating whether it is detecting black on a white background, or white on a black background.

C++ includes: grovelinefinder.hpp

blackDetected()[source]

bool blackDetected()

Determines whether black has been detected

True if black is detected

whiteDetected()[source]

bool whiteDetected()

Determines whether white has been detected

True if white is detected