Skip to content

Commit

Permalink
Merge pull request #9 from GabyGold67/main
Browse files Browse the repository at this point in the history
Master integration
  • Loading branch information
GabyGold67 authored Jan 19, 2025
2 parents c935b39 + b134172 commit 45348b0
Show file tree
Hide file tree
Showing 102 changed files with 2,270 additions and 2,554 deletions.
10 changes: 1 addition & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
./DevelopmentDocs/*.*
./DevelopmentDocs/ExamplesToRefactor/*.*
DevelopmentDocs/ButtonToSwitch_ESP32-Doxyfile
DevelopmentDocs/ExamplesToRefactor/1Dbncd_1DbncdDlyd_InTasks/1Dbncd_1DbncdDlyd_InTasks.ino
DevelopmentDocs/ExamplesToRefactor/1Dbncd_1DbncdDlyd_NoTasks/1Dbncd_1DbncdDlyd_NoTasks.ino
DevelopmentDocs/ExamplesToRefactor/1Dbncd_1LtchMPBttn_NoTasks/1Dbncd_1LtchMPBttn_NoTasks.ino
DevelopmentDocs/ExamplesToRefactor/1DbncdDlyd_1HntdTmLtchMPBttn_InTasks/1DbncdDlyd_1HntdTmLtchMPBttn_InTasks.ino
DevelopmentDocs/ExamplesToRefactor/1DbncdDlyd_1Ltch_InTasks/1DbncdDlyd_1Ltch_InTasks.ino
DevelopmentDocs/ExamplesToRefactor/1DbncdDlyd_1TmLtchMPBttn_InTasks/1DbncdDlyd_1TmLtchMPBttn_InTasks.ino
DevelopmentDocs/ExamplesToRefactor/1DbncdDlyd_1TmVdblMPBttn_InTasks/1DbncdDlyd_1TmVdblMPBttn_InTasks.ino
DevelopmentDocs/ExamplesToRefactor/1XtrnUnltchMPBttn_InTasks_a/1XtrnUnltchMPBttn_InTasks_a.ino
DevelopmentDocs/changes.txt
DevelopmentDocs/32-Bits DbncdMPBttn status encoding.txt
12 changes: 12 additions & 0 deletions DevelopmentDocs/changes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# v4.3.1 Improvements and additions
- Added support for the GPIO_NUM_MAX macro value (hardware dependant).
- _otptsSttsPkg() virtual property confirmation for all subclasses.
- Unneeded redundant code cleanup.
- Code simplification: use of fncPtrType for declarations of attributes and methods

# v4.3.0 Improvements and additions
- Added default constructors to all the classes that hadn't. Addition required for some dinamically created objects.
- Added the use of standard GPIO_NUM_NC to define an invalid pin number (non connected)
- Added the use of standard GPIO_NUM_MAX to validate the pin number for verifications
- 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)

# v4.2.0 Debugging, improvements and normalization release
Debugging:
- HntdTmLtchMPBttn objects had wrong logic settings when entering the **isDisabled** state for some keepPilot and isOnDisabled combinations.
Expand Down
6 changes: 3 additions & 3 deletions docs/_button_to_switch___e_s_p32_8cpp.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="Complex_Switch_Sq_Sm_Color_In.jpg"/></td>
<td id="projectalign">
<div id="projectname">ButtonToSwitch Library for ESP32 (Arduino)<span id="projectnumber">&#160;v4.2.0</span>
<div id="projectname">ButtonToSwitch Library for ESP32 (Arduino)<span id="projectnumber">&#160;v4.3.1</span>
</div>
<div id="projectbrief">A library that provides elaborated switch mechanism behavior simulation for digital signals inputs</div>
</td>
Expand Down Expand Up @@ -132,8 +132,8 @@
<div class="textblock"><p>: Source file for the ButtonToSwitch_ESP32 library classes </p>
<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>
<dl class="section author"><dt>Author</dt><dd>: Gabriel D. Goldman </dd></dl>
<dl class="section version"><dt>Version</dt><dd>v4.2.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>: Created on: 06/11/2023 : Last modification: 08/11/2024 </dd></dl>
<dl class="section version"><dt>Version</dt><dd>v4.3.0 </dd></dl>
<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>
<dl class="section copyright"><dt>Copyright</dt><dd>GPL-3.0 license</dd></dl>
<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>
<dl class="section warning"><dt>Warning</dt><dd><b>Use of this library is under your own responsibility</b> </dd></dl>
Expand Down
6 changes: 3 additions & 3 deletions docs/_button_to_switch___e_s_p32_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="Complex_Switch_Sq_Sm_Color_In.jpg"/></td>
<td id="projectalign">
<div id="projectname">ButtonToSwitch Library for ESP32 (Arduino)<span id="projectnumber">&#160;v4.2.0</span>
<div id="projectname">ButtonToSwitch Library for ESP32 (Arduino)<span id="projectnumber">&#160;v4.3.1</span>
</div>
<div id="projectbrief">A library that provides elaborated switch mechanism behavior simulation for digital signals inputs</div>
</td>
Expand Down Expand Up @@ -189,8 +189,8 @@
<div class="textblock"><p>: Header file for the ButtonToSwitch_ESP32 library classes </p>
<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>
<dl class="section author"><dt>Author</dt><dd>: Gabriel D. Goldman </dd></dl>
<dl class="section version"><dt>Version</dt><dd>v4.2.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>: Created on: 06/11/2023 : Last modification: 28/08/2024 </dd></dl>
<dl class="section version"><dt>Version</dt><dd>v4.3.0 </dd></dl>
<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>
<dl class="section copyright"><dt>Copyright</dt><dd>GPL-3.0 license</dd></dl>
<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>
<dl class="section warning"><dt>Warning</dt><dd><b>Use of this library is under your own responsibility</b> </dd></dl>
Expand Down
Loading

0 comments on commit 45348b0

Please sign in to comment.