1 #ifndef __LIGHTMETER_H__
2 #define __LIGHTMETER_H__
3 
4 #include "../menu.h"
5 
6 static uint8_t icon_data_lighter_24_24[] = {
7     0x00, 0xC0, 0xF0, 0x18, 0x0C, 0x24, 0x46, 0x86, 0x02, 0x00, 0x00, 0x00,
8     0x10, 0x50, 0x50, 0x92, 0x26, 0x46, 0x84, 0x0C, 0x18, 0xF0, 0xC0, 0x00,
9     0x00, 0x81, 0x00, 0x08, 0x08, 0x08, 0x08, 0x00, 0x3C, 0x66, 0xC3, 0x81,
10     0x81, 0xC3, 0x66, 0x3C, 0x01, 0x06, 0x00, 0x0F, 0x00, 0x00, 0x81, 0x00,
11     0x00, 0x03, 0x0F, 0x18, 0x30, 0x24, 0x62, 0x61, 0x40, 0x00, 0x00, 0x1E,
12     0x00, 0x00, 0x00, 0x40, 0x61, 0x62, 0x24, 0x30, 0x18, 0x0F, 0x03, 0x00};
13 static icon_t icon_lighter_24_24 = {icon_data_lighter_24_24, 24, 24, NULL};
14 
15 static uint8_t
16     icon_data_lighter_32_32[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
17                                  0x00, 0x20, 0x30, 0x38, 0x18, 0x1C, 0x0C,
18                                  0x0C, 0x04, 0x84, 0x8C, 0x8C, 0x9C, 0x18,
19                                  0x38, 0x30, 0x20, 0x00, 0x00, 0x00, 0x00,
20                                  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0,
21                                  0x7C, 0x1E, 0x03, 0x00, 0x80, 0x80, 0x82,
22                                  0x04, 0x08, 0xC0, 0x20, 0x10, 0x12, 0x12,
23                                  0x16, 0x2C, 0xC9, 0x11, 0x73, 0xC6, 0x1C,
24                                  0x70, 0xC0, 0x03, 0x1E, 0x7C, 0xF0, 0x00,
25                                  0x00, 0x00, 0x00, 0x0F, 0x3E, 0x78, 0xE0,
26                                  0x00, 0x00, 0x00, 0x40, 0x20, 0x10, 0x03,
27                                  0x04, 0x08, 0xE8, 0x08, 0x08, 0x04, 0x03,
28                                  0x10, 0x20, 0x41, 0x07, 0x00, 0x01, 0xC0,
29                                  0x78, 0x3E, 0x0F, 0x00, 0x00, 0x00, 0x00,
30                                  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04,
31                                  0x0C, 0x18, 0x18, 0x38, 0x30, 0x30, 0x20,
32                                  0x20, 0x30, 0x30, 0x38, 0x18, 0x18, 0x0C,
33                                  0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
34                                  0x00, 0x00};
35 
36 static icon_t icon_lighter_32_32 = {icon_data_lighter_32_32, 32, 32, NULL};
37 
38 extern MENU_TYP lightmeter;
39 
40 int  lightmeter_init(void);
41 int  lightmeter_uninit(void);
42 void lightmeter_task(void);
43 
44 #endif
45