MySensors Library & Examples  2.3.2-62-ge298769
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
AnalogSampling Class Reference

Detailed Description

Definition at line 95 of file AnalogSampling.h.

+ Collaboration diagram for AnalogSampling:

Public Member Functions

uint32_t back_off (uint8_t attempts)
 
bool begin (uint8_t did=0)
 
bool can_start ()
 
void compute_analog_read_duration ()
 
void handle_collision ()
 
uint8_t read_byte ()
 
uint16_t receive_byte ()
 
uint16_t receive_response ()
 
uint16_t receive_frame (uint8_t *data, uint16_t max_length)
 
void send_byte (uint8_t b)
 
void send_response (uint8_t response)
 
void send_frame (uint8_t *data, uint16_t length)
 
void set_pin (uint8_t pin)
 
void set_pins (uint8_t input_pin=AS_NOT_ASSIGNED, uint8_t output_pin=AS_NOT_ASSIGNED)
 
void set_threshold (uint16_t value)
 

Static Public Member Functions

static uint8_t get_max_attempts ()
 
static uint16_t get_receive_time ()
 

Public Attributes

uint16_t threshold = AS_THRESHOLD
 

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