Link Search Menu Expand Document

Ev3Wrap::TouchSensor

public methods


static TouchSensor bind(ev3dev::address_type = ev3dev::INPUT_AUTO)

Constructor

Description: static constructor to bind to an input address. returns the binded TouchSensor object. Will automatically detect which port the TouchSensor is connected if no parameter given.


bool isPressed()

Constructor

Description: checks if touch sensor is pressed.