Skip to content

Commit 45348b0

Browse files
authored
Merge pull request #9 from GabyGold67/main
Master integration
2 parents c935b39 + b134172 commit 45348b0

File tree

102 files changed

+2270
-2554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+2270
-2554
lines changed

.gitignore

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
./DevelopmentDocs/*.*
2-
./DevelopmentDocs/ExamplesToRefactor/*.*
32
DevelopmentDocs/ButtonToSwitch_ESP32-Doxyfile
4-
DevelopmentDocs/ExamplesToRefactor/1Dbncd_1DbncdDlyd_InTasks/1Dbncd_1DbncdDlyd_InTasks.ino
5-
DevelopmentDocs/ExamplesToRefactor/1Dbncd_1DbncdDlyd_NoTasks/1Dbncd_1DbncdDlyd_NoTasks.ino
6-
DevelopmentDocs/ExamplesToRefactor/1Dbncd_1LtchMPBttn_NoTasks/1Dbncd_1LtchMPBttn_NoTasks.ino
7-
DevelopmentDocs/ExamplesToRefactor/1DbncdDlyd_1HntdTmLtchMPBttn_InTasks/1DbncdDlyd_1HntdTmLtchMPBttn_InTasks.ino
8-
DevelopmentDocs/ExamplesToRefactor/1DbncdDlyd_1Ltch_InTasks/1DbncdDlyd_1Ltch_InTasks.ino
9-
DevelopmentDocs/ExamplesToRefactor/1DbncdDlyd_1TmLtchMPBttn_InTasks/1DbncdDlyd_1TmLtchMPBttn_InTasks.ino
10-
DevelopmentDocs/ExamplesToRefactor/1DbncdDlyd_1TmVdblMPBttn_InTasks/1DbncdDlyd_1TmVdblMPBttn_InTasks.ino
11-
DevelopmentDocs/ExamplesToRefactor/1XtrnUnltchMPBttn_InTasks_a/1XtrnUnltchMPBttn_InTasks_a.ino
123
DevelopmentDocs/changes.txt
4+
DevelopmentDocs/32-Bits DbncdMPBttn status encoding.txt

DevelopmentDocs/changes.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# v4.3.1 Improvements and additions
2+
- Added support for the GPIO_NUM_MAX macro value (hardware dependant).
3+
- _otptsSttsPkg() virtual property confirmation for all subclasses.
4+
- Unneeded redundant code cleanup.
5+
- Code simplification: use of fncPtrType for declarations of attributes and methods
6+
7+
# v4.3.0 Improvements and additions
8+
- Added default constructors to all the classes that hadn't. Addition required for some dinamically created objects.
9+
- Added the use of standard GPIO_NUM_NC to define an invalid pin number (non connected)
10+
- Added the use of standard GPIO_NUM_MAX to validate the pin number for verifications
11+
- All pin related constructor parameters types have been changed from uint8_t to int8_t, to make easy use of the GPIO_NUM_NC macro value (-1)
12+
113
# v4.2.0 Debugging, improvements and normalization release
214
Debugging:
315
- HntdTmLtchMPBttn objects had wrong logic settings when entering the **isDisabled** state for some keepPilot and isOnDisabled combinations.

docs/_button_to_switch___e_s_p32_8cpp.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<tr id="projectrow">
2929
<td id="projectlogo"><img alt="Logo" src="Complex_Switch_Sq_Sm_Color_In.jpg"/></td>
3030
<td id="projectalign">
31-
<div id="projectname">ButtonToSwitch Library for ESP32 (Arduino)<span id="projectnumber">&#160;v4.2.0</span>
31+
<div id="projectname">ButtonToSwitch Library for ESP32 (Arduino)<span id="projectnumber">&#160;v4.3.1</span>
3232
</div>
3333
<div id="projectbrief">A library that provides elaborated switch mechanism behavior simulation for digital signals inputs</div>
3434
</td>
@@ -132,8 +132,8 @@
132132
<div class="textblock"><p>: Source file for the ButtonToSwitch_ESP32 library classes </p>
133133
<p>The library implements classes that model several switch mechanisms replacements out of simple push buttons or similar equivalent digital signal inputs. By using just a button (a.k.a. momentary switches or momentary push buttons, <em><b>MPB</b></em> for short from here on) the classes implemented in this library will manage, calculate and update several parameters to <b>generate the embedded behavior of standard electromechanical switches</b>.</p>
134134
<dl class="section author"><dt>Author</dt><dd>: Gabriel D. Goldman </dd></dl>
135-
<dl class="section version"><dt>Version</dt><dd>v4.2.0 </dd></dl>
136-
<dl class="section date"><dt>Date</dt><dd>: Created on: 06/11/2023 : Last modification: 08/11/2024 </dd></dl>
135+
<dl class="section version"><dt>Version</dt><dd>v4.3.0 </dd></dl>
136+
<dl class="section date"><dt>Date</dt><dd>First release: 06/11/2023 Last update: 19/01/2025 16:00 (GMT+0300 DST) </dd></dl>
137137
<dl class="section copyright"><dt>Copyright</dt><dd>GPL-3.0 license</dd></dl>
138138
<dl class="section attention"><dt>Attention</dt><dd>This library was developed as part of the refactoring process for an industrial machines security enforcement and productivity control (hardware &amp; firmware update). As such every class included complies <b>AT LEAST</b> with the provision of the attributes and methods to make the hardware &amp; firmware replacement transparent to the controlled machines. Generic use attribute and methods were added to extend the usability to other projects and application environments, but no fitness nor completeness of those are given but for the intended refactoring project.</dd></dl>
139139
<dl class="section warning"><dt>Warning</dt><dd><b>Use of this library is under your own responsibility</b> </dd></dl>

docs/_button_to_switch___e_s_p32_8h.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<tr id="projectrow">
2929
<td id="projectlogo"><img alt="Logo" src="Complex_Switch_Sq_Sm_Color_In.jpg"/></td>
3030
<td id="projectalign">
31-
<div id="projectname">ButtonToSwitch Library for ESP32 (Arduino)<span id="projectnumber">&#160;v4.2.0</span>
31+
<div id="projectname">ButtonToSwitch Library for ESP32 (Arduino)<span id="projectnumber">&#160;v4.3.1</span>
3232
</div>
3333
<div id="projectbrief">A library that provides elaborated switch mechanism behavior simulation for digital signals inputs</div>
3434
</td>
@@ -189,8 +189,8 @@
189189
<div class="textblock"><p>: Header file for the ButtonToSwitch_ESP32 library classes </p>
190190
<p>The library implements classes that model several switch mechanisms replacements out of simple push buttons or similar equivalent digital signal inputs. By using just a button (a.k.a. momentary switches or momentary push buttons, <em><b>MPB</b></em> for short from here on) the classes implemented in this library will manage, calculate and update several parameters to <b>generate the embedded behavior of standard electromechanical switches</b>.</p>
191191
<dl class="section author"><dt>Author</dt><dd>: Gabriel D. Goldman </dd></dl>
192-
<dl class="section version"><dt>Version</dt><dd>v4.2.0 </dd></dl>
193-
<dl class="section date"><dt>Date</dt><dd>: Created on: 06/11/2023 : Last modification: 28/08/2024 </dd></dl>
192+
<dl class="section version"><dt>Version</dt><dd>v4.3.0 </dd></dl>
193+
<dl class="section date"><dt>Date</dt><dd>First release: 06/11/2023 Last update: 19/01/2025 16:00 (GMT+0300 DST) </dd></dl>
194194
<dl class="section copyright"><dt>Copyright</dt><dd>GPL-3.0 license</dd></dl>
195195
<dl class="section attention"><dt>Attention</dt><dd>This library was developed as part of the refactoring process for an industrial machines security enforcement and productivity control (hardware &amp; firmware update). As such every class included complies <b>AT LEAST</b> with the provision of the attributes and methods to make the hardware &amp; firmware replacement transparent to the controlled machines. Generic use attribute and methods were added to extend the usability to other projects and application environments, but no fitness nor completeness of those are given but for the intended refactoring project.</dd></dl>
196196
<dl class="section warning"><dt>Warning</dt><dd><b>Use of this library is under your own responsibility</b> </dd></dl>

0 commit comments

Comments
 (0)