Project

General

Profile

Statistics
| Branch: | Revision:

pse-2015-16-grupo-3 / tpf / display.h @ 65489db4

History | View | Annotate | Download (623 Bytes)

1
#ifndef DISPLAY_H_
2
#define DISPLAY_H_
3

    
4
#include <stdint.h>
5
#include <stdlib.h>
6
#include <stdio.h>
7
#include "tempo.h"
8

    
9
/**
10
*        \brief Displays the values received, in this case, the time,power and if needed a message 
11
*        
12
*        \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
13
*/
14
uint8_t setDisplay(pse_time_t clock, uint16_t power, char* message);
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_ */