McMajan Library Pack
v 2.00
Improve your Arduino !
Ss_McMajan_Config.h
Go to the documentation of this file.
1
#
include
"Ss_Global.h"
2
#
include
"Ss_FastArduino.h"
3
#
include
"Ss_Analogico.h"
4
#
include
"Ss_McAir24.h"
5
#
include
"Ss_Energia.h"
6
#
include
"Ss_TFT.h"
7
#
include
"Ss_hc595.h"
8
9
10
//#include "Ss_McIRDA_Int.h"
11
#
include
"Ss_McIRDA.h"
12
13
14
#
ifndef
_McMajanConfig_
15
#
define
_McMajanConfig_
16
17
18
//==============================================================================
19
// GLOBAL McMajan Library Pack definitions
20
//==============================================================================
21
22
#
define
Mc_DEBUG_ALL
23
#
define
Mc_ADC_bit_extension
1
/**< bit extension*/
24
/*!Prescaler*/
25
#
define
Mc_DEFAULT_AVR_ADC_PRESCALER
Mc_PS_32
26
27
28
29
//==============================================================================
30
// FastArduino Library
31
//==============================================================================
32
33
//#define USE_FASTARDUINO
34
//#define FastArduino_DEBUG
35
36
37
38
//==============================================================================
39
// hc595 Library
40
//==============================================================================
41
#
define
Mc_HC595_DEBUG
42
//#define HC595_DP
43
44
45
46
//==============================================================================
47
// SS_TFT Library
48
//==============================================================================
49
50
//#define USE_HC595
51
//#define SS_USEDIRECTPORT
52
53
54
55
//==============================================================================
56
// SS_Mc_IRDA Library
57
//==============================================================================
58
59
//#define McIRDA_DEBUG
60
61
62
63
64
//==============================================================================
65
// Energia
66
//==============================================================================
67
#
define
Mc_default_voltage
230
68
#
define
Mc_voltage_freq
50
69
#
define
ENERGIA_DEBUG
70
71
72
73
//==============================================================================
74
// Mc_IRDA
75
//==============================================================================
76
//comment protocols you want to exclude for flash memory save
77
#
define
USE_PANASONIC
78
#
define
USE_JVC
79
#
define
USE_RC6
80
#
define
USE_RC5
81
#
define
USE_NEC
82
#
define
USE_SAMSUNG
83
#
define
USE_SANYO
84
#
define
USE_MITSUBISHI
85
#
define
USE_DISH
86
87
//#define USE_DAIKIN_FTX
88
//daikin mod n. ftxs25k2v1b - experimental and incomplete
89
90
91
92
//==============================================================================
93
// Automatic redefinitions: Dont' change it!!!
94
//==============================================================================
95
#
if
defined
USE_FASTARDUINO
&&
defined
ARDUINO_ARCH_AVR
96
#
define
FASTARDUINO_ON
97
//#warning FAST ARDUINO ON
98
#
else
99
#
define
FASTARDUINO_OFF
100
#
endif
101
102
103
104
#
define
Mc_decimatoreoversample
(
pow
(
2
,
Mc_ADC_extended_bits
)
)
105
106
107
#
ifdef
Mc_DEBUG_ALL
108
#
define
McIRDA_DEBUG
109
#
define
ENERGIA_DEBUG
110
#
define
FastArduino_DEBUG
111
#
define
Mc_HC595_DEBUG
112
113
#
endif
114
115
116
117
#
endif
118
119
120
/*! \mainpage McMajan Library Pack 2.00
121
*
122
* \section intro Introduction
123
*
124
Mcmajan Library pack is a mix of different libraries jointed all together. Programming Arduino there are many problems if you want to
125
integrate different libraries because there is not the possibility to specify the dipendences on Arduino IDE. For this reason my
126
libraries are now jointed in one big library. In this way I can use functions and classes of a library inside another one.
127
<b>Note:</b> The documentation in NOT complete, you can find most important information and function but NOT ALL. I'll write
128
what isn't just ready in the future.
129
* \section content Content
130
You can find 8 libraries and a global configuration file. The libraries are:
131
<br><b>Analogico:</b> of course it means analogic in italian. In this little library there are some functions used in all other libraries
132
which are useful to sample analogic signal using oversampling, kalman filters, and more. See here: Ss_Analogico.cpp. You can see these funtion
133
opening Energia example (ConsumoEnergeticoVI).
134
<br><b>Energia:</b>it is useful to create a energy meter. It read values of voltage and current. This class can report you apparent power,
135
real power, voltage, and more.
136
<br><b>FastArduino:</b> in this library you can found some function to replace digitalRead, digitalWrite and some other additional functions.
137
The advantage to use these is than on avr microcontroller you'll have an important speed-up. See here: Ss_FastArduino.cpp
138
<br><b>hc595:</b> This library controls a chain of 74hc595 registers. You can manipulate in the same chain either normal
139
digital lines and lcd displays.
140
<br><b>McAir24:</b> controls nrf24 modules. Note: McAir24 is a global istance of ss_nrf24 class.
141
<br><b>McIRDA:</b> controls IR interface. For now is compatible only with avr microcontrollers.
142
<br><b>Ss_TFT :</b> controls ITBD02-28 display shield (http://imall.iteadstudio.com/development-platform/arduino/shields/im120417020.html)
143
<br><b>Ss_McMajan_Config.h: </b>Use this file to configure all libraries
144
145
146
147
148
149
*/
libraries
McMajanLibraryPack
src
Ss_McMajan_Config.h
Generated on Sun Dec 18 2016 16:21:21 for McMajan Library Pack by
1.8.12