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