From 2592aed4da8b5505191fd7647e79f28aeef3c171 Mon Sep 17 00:00:00 2001 From: FTC Engineering Date: Tue, 9 Jul 2019 13:34:51 -0400 Subject: [PATCH] Updated Using Sensors (OnBot Java) (markdown) --- Using-Sensors-(OnBot-Java).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Using-Sensors-(OnBot-Java).md b/Using-Sensors-(OnBot-Java).md index 51c6b4d..000c664 100644 --- a/Using-Sensors-(OnBot-Java).md +++ b/Using-Sensors-(OnBot-Java).md @@ -20,7 +20,7 @@ After you have modified your op mode, push the build button, then run the op mod The REV Robotics Touch Sensor can be connected to a digital port on the Expansion Hub. The Touch Sensor is HIGH (returns TRUE) when it is not pressed. It is pulled LOW (returns FALSE) when it is pressed. -

+

[[/images/Using-Sensors-(Blocks)/REVTouchSensor.jpg]]

The Expansion Hub digital ports contain two digital pins per port. When you use a 4-wire JST cable to connect a REV Robotics Touch sensor to an Expansion Hub digital port, the Touch Sensor is wired to the second of the two digital pins within the port. The first digital pin of the 4-wire cable remains disconnected.