Rev 13 | Go to most recent revision | Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 2 | mjames | 1 | /* |
| 2 | * display.h |
||
| 3 | * |
||
| 4 | * Created on: 30 Nov 2020 |
||
| 5 | * Author: mike |
||
| 6 | */ |
||
| 7 | |||
| 8 | #pragma once |
||
| 9 | |||
| 10 | #define MAX_DISPLAYS 1 |
||
| 11 | #if defined __cplusplus |
||
| 12 | extern "C" |
||
| 13 | { |
||
| 14 | #endif |
||
| 15 | |||
| 16 | extern void cc_init(); |
||
| 17 | |||
| 18 | extern int cc_display(uint8_t dialIndex,uint8_t intensity); |
||
| 19 | |||
| 20 | // feed environmental data |
||
| 21 | extern void cc_feed_env(uint32_t pressVal, int32_t tempVal); |
||
| 22 | |||
| 23 | // feed timing value |
||
| 24 | extern void cc_feed_timing(int timing); |
||
| 25 | |||
| 26 | // feed RPM value |
||
| 27 | extern void cc_feed_rpm(int rpm ); |
||
| 28 | |||
| 29 | #if defined __cplusplus |
||
| 30 | } |
||
| 31 | #endif |