You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
933 B
26 lines
933 B
/*
|
|
* splitflap_wrapper.h
|
|
*
|
|
* Created on: 05.12.2022
|
|
* Author: jonas
|
|
*/
|
|
|
|
#ifndef MAIN_SPLITFLAP_WRAPPER_H_
|
|
#define MAIN_SPLITFLAP_WRAPPER_H_
|
|
|
|
/* moves all split flaps to the zero position
|
|
* After a timeout the initializtion is cancelled and the return value is false
|
|
* If all splitflaps report to be initialized before the timeout, the return value is true */
|
|
bool SplitFlap_Wrapper_MoveAllToZeroPosition(void);
|
|
|
|
/* display a sentence on the splitflap combination
|
|
* splitflaps must be initialized to be able to display something!
|
|
* returns true when all movements finished */
|
|
bool SplitFlap_Wrapper_Display(char sentence[]);
|
|
|
|
/* sets the hardware identifier <hwId> of a splitflap with <id> in the combination
|
|
* returns true when successful, false when not (e.g. split flap with given id not available) */
|
|
bool SplitFlap_Wrapper_SetHardwareIdentifier(uint8_t id, uint8_t hwId);
|
|
|
|
|
|
#endif /* MAIN_SPLITFLAP_WRAPPER_H_ */
|
|
|