New functions added

This commit is contained in:
7u83 2024-05-19 01:00:51 +02:00
parent 384dbcd807
commit 5457e799f5

View File

@ -1,11 +1,21 @@
#ifndef MC8051FUN_H
#define MC8051FUN_H
#include <stdint.h>
#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