diff --git a/mc8051fun.h b/mc8051fun.h index 223995b..ec9012a 100644 --- a/mc8051fun.h +++ b/mc8051fun.h @@ -1,11 +1,21 @@ #ifndef MC8051FUN_H #define MC8051FUN_H +#include #include <8052.h> + + + void uart_init(long fosc, long baud); void uart_send_chr(char tx_data); void uart_send_str(const char *str); + +int8_t rotary_encoder_stat(uint8_t b); + +extern uint8_t sevenseg_dec[10]; +extern uint8_t sevenseg_dec_inv[10]; + #endif