/* * multi-splitflap.h * * Created on: 07.10.2022 * Author: jonas */ #ifndef MULTI_SPLITFLAP_H_ #define MULTI_SPLITFLAP_H_ #include "splitflap.h" #define NUM_FLAPS 2 // Number of flaps that can be added to the combination /* initialize dictionary */ void MultiSplitFlap_Init(); /* de-initialize: deallocate memory etc. */ void MultiSplitFlap_Deinit(void); /* add a splitflap to the combination */ void MultiSplitFlap_AddFlap(SF_Handle_t splitflap); /* display a sentence on the splitflap combination * splitflaps must be initialized to be able to display something! * returns true when all movements finished */ bool MultiSplitFlap_Display(char sentence[]); /* returns the amount of registered split flap displays in the combination */ uint8_t MultiSplitFlap_GetAmountOfAddedSplitFlaps(void); #endif /* MULTI_SPLITFLAP_H_ */