From 5457e799f58b518d7758cfb6a186b16a78c6a650 Mon Sep 17 00:00:00 2001 From: 7u83 <7u83@mail.ru> Date: Sun, 19 May 2024 01:00:51 +0200 Subject: [PATCH] New functions added --- mc8051fun.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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