mc8051fun/mc8051fun.h
2024-05-19 01:00:51 +02:00

22 lines
313 B
C

#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