Rev 1961 | Rev 1965 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1961 | Rev 1964 | ||
---|---|---|---|
Line 187... | Line 187... | ||
187 | 187 | ||
188 | // 1:11 voltage divider, 1024 counts per 3V, and result is divided by 3. |
188 | // 1:11 voltage divider, 1024 counts per 3V, and result is divided by 3. |
Line 189... | Line 189... | ||
189 | #define UBAT_AT_5V (int16_t)((5.0 * (1.0/11.0)) * 1024 / (3.0 * 3)) |
189 | #define UBAT_AT_5V (int16_t)((5.0 * (1.0/11.0)) * 1024 / (3.0 * 3)) |
190 | - | ||
191 | typedef struct { |
- | |
192 | uint8_t checksum; |
190 | |
193 | uint8_t revisionNumber; |
191 | typedef struct { |
Line 194... | Line 192... | ||
194 | int16_t offsets[3]; |
192 | int16_t offsets[3]; |
195 | } sensorOffset_t; |
193 | } sensorOffset_t; |