libPocuter  1.0
Support library for programming the Pocuter
PocuterLibConfig.h
Go to the documentation of this file.
1 #ifndef POCUTERLIBCONFIG_H
2 #define POCUTERLIBCONFIG_H
3 /*
4  * Pocuter Lib Configuration
5  *
6  */
7 
8 
9 /* Dont use Display functions. This includes uGUI */
10 // #define POCUTER_DISABLE_DISPLAY
11 
12 /* Dont use SD-Card functions. This includes OTA */
13 // #define POCUTER_DISABLE_SD_CARD
14 
15 /* Don't use Server */
16 //#define POCUTER_DISABLE_SERVER
17 
18 /* Dont use WIFI functions */
19  //#define POCUTER_DISABLE_WIFI
20 
21 /* Don't include the RGBled function */
22 // #define POCUTER_DISABLE_RGBled
23 
24 /* Don't include the Buttons function */
25 // #define POCUTER_DISABLE_BUTTONS
26 
27 /* Don't include the port expander. This will also disable RGBled, OTA, SD-Card, Buttons and Display */
28 // #define POCUTER_DISABLE_EXPANDER
29 
30 /* Don't include the accelerator sensor */
31 // #define POCUTER_DISABLE_ACC
32 
33 /* Swap SDA and SCL at the I2C bus. This will deactivate the expander and with it RGBled, OTA, SD-Card, Buttons and Display */
34 // #define POCUTER_SWITCH_SDA_SCL
35 
36 /* Disable Light Sensor */
37 // #define POCUTER_DISABLE_LIGHTSENSOR
38 
39 /* Disable the Microphone */
40 // #define POCUTER_DISABLE_MICROPHONE
41 
42 
43 /* Disable ADC (Will also disable the Micrphone and light sensor) */
44 // #define POCUTER_DISABLE_ADC
45 
46 
47 /* Please do not change anything from this point */
48 
49 
50 /*#ifndef POCUTER_SWITCH_SDA_SCL
51 
52 #ifndef POCUTER_DISABLE_ACC
53 #define POCUTER_DISABLE_ACC
54 #endif
55 
56 #endif*/
57 
58 #ifdef POCUTER_DISABLE_ADC
59 #define POCUTER_DISABLE_MICROPHONE
60 #define POCUTER_DISABLE_LIGHTSENSOR
61 #endif
62 
63 #ifdef POCUTER_SWITCH_SDA_SCL
64 
65 #ifndef POCUTER_DISABLE_EXPANDER
66 #define POCUTER_DISABLE_EXPANDER
67 #endif
68 
69 #endif /* POCUTER_SWITCH_SDA_SCL */
70 
71 #ifdef POCUTER_DISABLE_SD_CARD
72 #define POCUTER_DISABLE_SERVER
73 #endif
74 
75 
76 #ifdef POCUTER_DISABLE_EXPANDER
77 
78 #ifndef POCUTER_DISABLE_DISPLAY
79 #define POCUTER_DISABLE_DISPLAY
80 #endif
81 
82 #ifndef POCUTER_DISABLE_SD_CARD
83 #define POCUTER_DISABLE_SD_CARD
84 #endif
85 
86 #ifndef POCUTER_DISABLE_RGBled
87 #define POCUTER_DISABLE_RGBled
88 #endif
89 
90 #ifndef POCUTER_DISABLE_BUTTONS
91 #define POCUTER_DISABLE_BUTTONS
92 #endif
93 
94 #endif /* POCUTER_DISABLE_EXPANDER */
95 
96 
97 #endif /* POCUTERLIBCONFIG_H */
98