pros::adi namespace

Contents

Classes

class AnalogIn
class AnalogOut
class DigitalIn
class DigitalOut
class Encoder
class Gyro
class Led
class Motor
class Pneumatics
class Port
class Potentiometer
class Ultrasonic

Typedefs

using ext_adi_port_pair_t = std::pair<std::uint8_t, std::uint8_t>
type definition for the pair of smart port and adi port for the basic adi devices
using ext_adi_port_tuple_t = std::tuple<std::uint8_t, std::uint8_t, std::uint8_t>
type definition for the triplet of smart port and two adi ports for the two wire adi devices
using LineSensor = AnalogIn
using LightSensor = AnalogIn
using Accelerometer = AnalogIn
using Button = DigitalIn
using LED = Led
Alias for ADILed.

Typedef documentation

using pros::adi::ext_adi_port_pair_t = std::pair<std::uint8_t, std::uint8_t>

type definition for the pair of smart port and adi port for the basic adi devices

using pros::adi::ext_adi_port_tuple_t = std::tuple<std::uint8_t, std::uint8_t, std::uint8_t>

type definition for the triplet of smart port and two adi ports for the two wire adi devices

using pros::adi::LineSensor = AnalogIn

using pros::adi::LightSensor = AnalogIn

using pros::adi::Accelerometer = AnalogIn

using pros::adi::Button = DigitalIn

using pros::adi::LED = Led

Alias for ADILed.