EDF - OnePIC MCU
v1.1.0
|
![]() |
Files | |
file | OnePIC_8bit_demo_irda.h |
Functions | |
void | irda_putch (char c) |
bit-bang IR byte | |
char | irda_getch (void) |
receives one byte | |
char | irda_getche (void) |
echos back whatever received |
char irda_getch | ( | void | ) |
receives one byte
lets just use a baud rate of 9600 since this is bit-banged! A higher baudrate may be achievable, no guarentee that the data will be accurate
Definition at line 59 of file OnePIC_8bit_demo_irda.c.
char irda_getche | ( | void | ) |
echos back whatever received
Definition at line 80 of file OnePIC_8bit_demo_irda.c.
void irda_putch | ( | char | c | ) |
bit-bang IR byte
lets just use a baud rate of 9600 since this is bit-banged! A higher baudrate may be achievable, no guarentee that the data will be accurate
c | char byte to send |
start bit is always a 0
stop bit always a 1
Definition at line 33 of file OnePIC_8bit_demo_irda.c.