#include <XBee.h>
Public Member Functions | |
uint8_t | getSampleSize () |
Returns the number of samples in this packet. | |
bool | containsAnalog () |
bool | containsDigital () |
bool | isAnalogEnabled (uint8_t pin) |
Returns true if the specified analog pin is enabled. | |
bool | isDigitalEnabled (uint8_t pin) |
Returns true if the specified digital pin is enabled. | |
uint16_t | getAnalog (uint8_t pin, uint8_t sample) |
Returns the 10-bit analog reading of the specified pin. | |
bool | isDigitalOn (uint8_t pin, uint8_t sample) |
Returns true if the specified pin is high/on. | |
uint8_t | getSampleOffset () |
uint16_t RxIoSampleBaseResponse::getAnalog | ( | uint8_t | pin, | |
uint8_t | sample | |||
) |
Returns the 10-bit analog reading of the specified pin.
Valid pins include ADC:0-5. Sample index starts at 0
bool RxIoSampleBaseResponse::isDigitalOn | ( | uint8_t | pin, | |
uint8_t | sample | |||
) |
Returns true if the specified pin is high/on.
Valid pins include DIO:0-8. Sample index starts at 0