-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraphics.h
39 lines (32 loc) · 1.4 KB
/
graphics.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**************************************************************************//**
* @brief Draws the graphics on the display
* @version 3.20.5
*******************************************************************************
* @section License
* <b>(C) Copyright 2014 Silicon Labs, http://www.silabs.com</b>
*******************************************************************************
*
* This file is licensed under the Silabs License Agreement. See the file
* "Silabs_License_Agreement.txt" for details. Before using this software for
* any purpose, you must agree to the terms of that agreement.
*
******************************************************************************/
#ifndef __GRAPHICS_H
#define __GRAPHICS_H
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
/*******************************************************************************
***************************** PROTOTYPES **********************************
******************************************************************************/
void GRAPHICS_Init(void);
void GRAPHICS_Clear();
void GRAPHICS_ShowStatus(bool si114x_status, bool si7013_status, bool removeObject, bool lowBat);
void GRAPHICS_Draw(int xoffset, int32_t tempData, uint32_t rhData, uint32_t uvData, int yoffset, bool lowBat);
void GRAPHICS_DrawProx(int size, int circle, int conf);
#ifdef __cplusplus
}
#endif
#endif /* __GRAHPHICS_H */