Rev 2038 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2543 | holgerb | 1 | #include "Spektrum.h" |
2 | #include "main.h" |
||
2038 | holgerb | 3 | //############################################################################ |
4 | // Implement your own RC-decoding routines here |
||
5 | //############################################################################ |
||
6 | |||
7 | |||
8 | //############################################################################ |
||
9 | // Initialize the UART here |
||
10 | //############################################################################ |
||
11 | void User_Receiver_Init(void) |
||
12 | { |
||
13 | // SpektrumUartInit(); // or use an existing routine like this |
||
14 | }; |
||
15 | |||
16 | //############################################################################ |
||
17 | // Is called by the uart RX interrupt |
||
18 | // UDR contains the received byte |
||
19 | //############################################################################ |
||
20 | void User_RX_Parser(unsigned char udr) |
||
21 | { |
||
2543 | holgerb | 22 | // place your code here |
2038 | holgerb | 23 | }; |
24 |