ZBRxIoSampleResponse Class Reference

Represents a Series 2 RX I/O Sample packet. More...

#include <XBee.h>

Inheritance diagram for ZBRxIoSampleResponse:

ZBRxResponse RxDataResponse XBeeResponse

List of all members.

Public Member Functions

bool containsAnalog ()
bool containsDigital ()
bool isAnalogEnabled (uint8_t pin)
 Returns true if the pin is enabled.
bool isDigitalEnabled (uint8_t pin)
 Returns true if the pin is enabled.
uint16_t getAnalog (uint8_t pin)
 Returns the 10-bit analog reading of the specified pin.
bool isDigitalOn (uint8_t pin)
 Returns true if the specified pin is high/on.
uint8_t getDigitalMaskMsb ()
uint8_t getDigitalMaskLsb ()
uint8_t getAnalogMask ()


Detailed Description

Represents a Series 2 RX I/O Sample packet.

Member Function Documentation

uint16_t ZBRxIoSampleResponse::getAnalog ( uint8_t  pin  ) 

Returns the 10-bit analog reading of the specified pin.

Valid pins include ADC:xxx.

bool ZBRxIoSampleResponse::isDigitalOn ( uint8_t  pin  ) 

Returns true if the specified pin is high/on.

Valid pins include DIO:xxx.


The documentation for this class was generated from the following files:

Generated on Wed Dec 21 17:21:21 2011 for XBee-Arduino by  doxygen 1.5.8