Project

General

Profile

Statistics
| Branch: | Revision:

pse-2015-16-grupo-3 / tpf / power.h @ 87a830c5

History | View | Annotate | Download (458 Bytes)

1
#ifndef POWER_H_
2
#define POWER_H_
3

    
4
#include <stdint.h>
5
#include <time.h>
6

    
7
uint8_t powerValue;
8
time_t execTime;
9

    
10

    
11
uint8_t nextPowerSetting();
12
uint8_t previousPowerSetting();
13

    
14
#ifdef antigo
15

    
16
/**
17
*        \brief Mostra no display a string recebida como argumento
18
*        
19
*        \param toDisplay String a ser mostrada no display
20
*/
21
uint8_t setPower(uint8_t powerValue, time_t execTime);
22

    
23

    
24
/**
25
*        \brief Limpa o display
26
*
27
*/
28
uint8_t clearPower();
29

    
30
#endif
31

    
32
#endif /* DISPLAY_H_ */