pse-2015-16-grupo-3 / tpf / display.h @ 688c8ab5
History | View | Annotate | Download (608 Bytes)
1 |
#ifndef DISPLAY_H_
|
---|---|
2 |
#define DISPLAY_H_
|
3 |
|
4 |
#include <stdint.h> |
5 |
#include <stdlib.h> |
6 |
#include <stdio.h> |
7 |
|
8 |
/**
|
9 |
* \brief Displays the values received, in this case, the time,power and if needed a message
|
10 |
*
|
11 |
* \param send a time as a pse_time_t, a uint8_t power and a message. If there is no need for a message, send a null char[]. The fuction returns 0 if success or !=0 if something failed
|
12 |
*/
|
13 |
uint8_t setDisplay(pse_time_t clock, int uint8_t power,char[] Message); |
14 |
|
15 |
|
16 |
/**
|
17 |
* \brief Limpa o display
|
18 |
*
|
19 |
* \param returns 0 if sucess and !=0 if something failed
|
20 |
*/
|
21 |
uint8_t clearDisplay(); |
22 |
|
23 |
|
24 |
#endif /* DISPLAY_H_ */ |