namespace
adi
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>
#include <pros/adi.hpp>
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>
#include <pros/adi.hpp>
type definition for the triplet of smart port and two adi ports for the two wire adi devices
using pros:: adi:: LineSensor = AnalogIn
#include <pros/adi.hpp>
using pros:: adi:: LightSensor = AnalogIn
#include <pros/adi.hpp>
using pros:: adi:: Accelerometer = AnalogIn
#include <pros/adi.hpp>
using pros:: adi:: Button = DigitalIn
#include <pros/adi.hpp>
using pros:: adi:: LED = Led
#include <pros/adi.hpp>
Alias for ADILed.