Advanced Distributed Systems module at HSLU
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.
 
 

30 lines
726 B

/*
* multi-splitflap.h
*
* Created on: 07.10.2022
* Author: jonas
*/
#ifndef MULTI_SPLITFLAP_H_
#define MULTI_SPLITFLAP_H_
#include "splitflap.h"
/* initialize dictionary */
void MultiSplitFlap_Init(void);
/* 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!*/
void MultiSplitFlap_Display(char* sentence[]);
/* returns the amount of registered split flap displays in the combination */
uint8_t MultiSplitFlap_GetAmountOfSplitFlaps(void);
#endif /* MULTI_SPLITFLAP_H_ */