New functions added
This commit is contained in:
parent
384dbcd807
commit
5457e799f5
10
mc8051fun.h
10
mc8051fun.h
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user