ArdEV3
Use EV3 peripherals from Arduino microcontrollers.
Loading...
Searching...
No Matches
ev3::TouchSensorPortConfig Struct Reference

#include <EV3TouchSensor.h>

Public Attributes

uint8_t Input

Detailed Description

The port configuration for an EV3 touch sensor. The EV3 touch sensor works by a simple analog switch between pin 4 (green) and pin 6 (blue). One of these should be connected to ground, and the other should be used as the value of Input.

Examples
touchSensor.cpp.

The documentation for this struct was generated from the following file: