RollerDrive
Public Functions
Type
Name
RollerDrive (void)
uint8_t
set_poster (uint8_t dst)
uint8_t
set_mode (RollerMode mode)
uint8_t
set_auto_mode_period (uint32_t period_ms)
uint8_t
set_auto_mode_range (uint8_t from, uint8_t to)
uint8_t
calibration (void)
bool
is_calibrated (void)
uint8_t
get_poster_count (void)
uint8_t
run_ind_motors_up (bool top = false, bool bottom = false)
uint8_t
run_ind_motors_down (bool top = false, bool bottom = false)
uint8_t
uint32_t
test_get_state_now (void)
uint32_t
test_get_state_last (void)
void
test_set_event (uint32_t event)
void
test_rele (uint8_t val)
void
test_io (void)
Public Functions Documentation
function RollerDrive
function set_poster
Set poster you want do display. Range is 1 to N (N = posters count).
function set_mode
Select mode of operation. Some mode requires successfully finished calibration.
function set_auto_mode_period
Auto mode changes poster after some time. Set this time in miliseconds.
function set_auto_mode_range
Set auto mode range, ie roll from poster 'start' to poster 'to' and repeat.
function calibration
Init and start calibration.
function is_calibrated
Was calibration successfully finished?
function get_poster_count
Returns number of posters. Return zero if calibration wasn't finished.
function run_ind_motors_up
function run_ind_motors_down
function run_ind_motors_stop
function test_get_state_now
function test_get_state_last
function test_set_event
function test_rele
Test function. Test rele function.
function test_io
Debug function. Read and print all IOs.
The documentation for this class was generated from the following file: D:/w/hw-libs/\_libs\_/libraries/RollerDrive.h
Last updated