satnogs-rotator-firmware
|
Class that functions for easycomm 3 implementation. More...
#include <easycomm.h>
Public Member Functions | |
void | easycomm_init () |
Initialize the RS485 bus. More... | |
void | easycomm_proc () |
Get the commands from RS485 and response to the client. More... | |
Private Member Functions | |
bool | isNumber (char *input) |
Class that functions for easycomm 3 implementation.
Definition at line 31 of file easycomm.h.
|
inline |
Initialize the RS485 bus.
Definition at line 39 of file easycomm.h.
References BAUDRATE, and rs485::begin().
Referenced by setup().
|
inline |
Get the commands from RS485 and response to the client.
Definition at line 48 of file easycomm.h.
References rs485::available(), BUFFER_SIZE, control_az, control_el, _rotator::control_mode, _control::d, rs485::flush(), _rotator::homing_flag, _control::i, _control::input, _rotator::inside_temperature, isNumber(), _control::load, _control::p, _rotator::park_az, _rotator::park_el, position, rs485::print(), rs485::read(), rotator, _rotator::rotator_error, _rotator::rotator_status, _control::setpoint, _control::setpoint_speed, speed, _control::speed, _rotator::switch_az, and _rotator::switch_el.
Referenced by loop().
|
inlineprivate |
Definition at line 378 of file easycomm.h.
Referenced by easycomm_proc().