Package com.reduxrobotics.sensors.canandcolor.digout
package com.reduxrobotics.sensors.canandcolor.digout
Package that holds all classes relating to configuring the Canandcolor's digital output logic slots.
See
DigoutSlot
for how these work.-
ClassDescriptionEnum specifying clause behavior for a digout slot.Interface that holds the output configuration for a digital output pad (digout) Digout pins can be set into one of three modes: disabled (via
DigoutMode.Disabled
) outputting high or low depending on the values of digout slots that combine to form a boolean expression (viaDigoutMode.DigoutSlot
-- for more information, seeDigoutMode.DigoutSlot
) a duty cycle (PWM) output of values from either the color or proximity sensor.A config that sets the digital output to use digout slot logic.A config that disables any output on the digital output.A config that sets the digital output to output a duty cycle or PWM signal.Represents a digout "slot" which helps determine the digital output's value.ADigoutSlot
that compares two data sources against each other, while scaling and offsetting the first data slot's value.ADigoutSlot
that compares a data source against a constant value.A disabled and unconfiguredDigoutSlot
.ADigoutSlot
that is true if the preceding clause has been true for at least a certain period of time.ADigoutSlot
that is true if the previous lower-indexed slot has been true for at least a certain period of time.Class representing the state of the Canandcolor digout slots.Enum corresponding to numerical comparisons digout slots can perform.Enum corresponding to digout slot opcodes.