Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2303 | - | 1 | #ifndef _JETI_EX_H |
2 | #define _JETI_EX_H |
||
3 | |||
4 | |||
5 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
||
6 | extern void BuildJeti_Vario(void); |
||
7 | |||
8 | // define here how many Jeti EX parameters should be transmitted (max. = 15) |
||
9 | // |
||
10 | #define JETI_EX_PARAMETER_COUNT 15 |
||
11 | // |
||
12 | // ------------------------------------------------------------------------- |
||
13 | |||
14 | extern const char PROGMEM JETI_CODE[53]; |
||
15 | |||
16 | typedef struct |
||
17 | { |
||
18 | char Label[10]; |
||
19 | char Unit[3]; |
||
20 | unsigned char DataType; |
||
21 | long Value; |
||
22 | unsigned char DecimalPointPos; |
||
23 | } JetiExPacket_t; |
||
24 | |||
25 | |||
26 | extern JetiExPacket_t JetiExData[]; |
||
27 | extern void JetiEX_Update(void); |
||
28 | |||
29 | |||
30 | |||
31 | #if (JETI_EX_PARAMETER_COUNT > 15) |
||
32 | #error "ERROR: Too many Jeti EX parameters (max. allowed 15)" |
||
33 | #endif |
||
34 | |||
35 | |||
36 | #endif |
||
37 | #endif //_JETI_EX_H |