diff --git a/DCCpp.zip b/DCCpp.zip index e3f6d2c..80cb81e 100644 Binary files a/DCCpp.zip and b/DCCpp.zip differ diff --git a/VStudio/ArduinoIno.cpp b/VStudio/ArduinoIno.cpp index 7cac538..5aa6f23 100644 --- a/VStudio/ArduinoIno.cpp +++ b/VStudio/ArduinoIno.cpp @@ -8,9 +8,9 @@ //#include "../examples/Autotest/Autotest.ino" //#include "../examples/EthernetDcc/EthernetDcc.ino" //#include "../examples/EthernetDcc/WiFiDcc.ino" -//#include "../examples/MaxiDcc/MaxiDcc.ino" +#include "../examples/MaxiDcc/MaxiDcc.ino" //#include "../examples/MiniDcc/MiniDcc.ino" -#include "../examples/SerialDcc/SerialDcc.ino" +//#include "../examples/SerialDcc/SerialDcc.ino" //#include "../../..//TPC/DCC/DCC.ino" //#include "TestExe.ino" diff --git a/examples/Autotest/Autotest.ino b/examples/Autotest/Autotest.ino index 8f43bcf..44aa418 100644 --- a/examples/Autotest/Autotest.ino +++ b/examples/Autotest/Autotest.ino @@ -57,7 +57,7 @@ struct StateMachineItem StateMachineItem *StateMachineItem::first = NULL; StateMachineItem *currentItem = NULL; -unsigned long time = 0; +unsigned long currentTime = 0; void setup() { @@ -82,15 +82,19 @@ void setup() new StateMachineItem(500, "f 3 128", "Light off"); // Light off DCCpp::begin(); - // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. - DCCpp::beginMain(UNDEFINED_PIN, DCC_SIGNAL_PIN_MAIN, 11, A0); + // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. +#if defined(ARDUINO_ARCH_ESP32) + DCCpp::beginMain(UNDEFINED_PIN, 33, 32, 36); +#else + DCCpp::beginMain(UNDEFINED_PIN, DCC_SIGNAL_PIN_MAIN, 11, A0); +#endif DCCpp::powerOn(); // Start on first item // Start timer too. currentItem = StateMachineItem::first; - time = millis(); + currentTime = millis(); TextCommand::parse(currentItem->command); } @@ -100,7 +104,7 @@ void loop() { DCCpp::loop(); - if ((int)(millis() - time) >= currentItem->delay) + if ((int)(millis() - currentTime) >= currentItem->delay) { currentItem = currentItem->next; if (currentItem == NULL) @@ -109,7 +113,7 @@ void loop() Serial.println("Restart"); } - time = millis(); + currentTime = millis(); TextCommand::parse(currentItem->command); Serial.println(currentItem->comment); } diff --git a/examples/EthernetDcc/DCCpp.h.local b/examples/EthernetDcc/DCCpp.h.local new file mode 100644 index 0000000..9ec772d --- /dev/null +++ b/examples/EthernetDcc/DCCpp.h.local @@ -0,0 +1,57 @@ +//------------------------------------------------------------------- +#ifndef __DCCpp_H__ +#define __DCCpp_H__ +//------------------------------------------------------------------- + +/** @file DCCpp.h +Main include file of the library.*/ + +#define DCCPP_LIBRARY_VERSION "VERSION DCCpp library: 1.4.1" + +#pragma warning (disable : 4005) +//#define DCCPP_DEBUG_MODE +//#define DCCPP_DEBUG_VERBOSE_MODE +#define DCCPP_PRINT_DCCPP +#pragma warning (default : 4005) + +//#define USE_ONLY1_INTERRUPT +//#define USE_TURNOUT +//#define USE_EEPROM +//#define USE_OUTPUT +//#define USE_SENSOR +#define USE_TEXTCOMMAND +#define USE_ETHERNET_WIZNET_5100 +//#define USE_ETHERNET_WIZNET_5500 +//#define USE_ETHERNET_WIZNET_5200 +//#define USE_ETHERNET_ENC28J60 + + +#if defined(USE_ETHERNET_WIZNET_5100) || defined(USE_ETHERNET_WIZNET_5500) || defined(USE_ETHERNET_WIZNET_5200) || defined(USE_ETHERNET_ENC28J60) +#define USE_ETHERNET +#endif + +///////////////////////////////////// + +#include "DCCpp_Uno.h" +#include "PacketRegister.h" +#include "CurrentMonitor.h" +#include "Config.h" +#include "Comm.h" +#ifdef USE_TURNOUT +#include "Turnout.h" +#endif +#ifdef USE_EEPROM +#include "EEStore.h" +#endif +#ifdef USE_OUTPUT +#include "Outputs.h" +#endif +#ifdef USE_SENSOR +#include "Sensor.h" +#endif +#ifdef USE_TEXTCOMMAND +#include "TextCommand.h" +#endif + +#include "DCCpp.hpp" +#endif diff --git a/examples/EthernetDcc/EthernetDcc.ino b/examples/EthernetDcc/EthernetDcc.ino index 30bc180..1cdd10b 100644 --- a/examples/EthernetDcc/EthernetDcc.ino +++ b/examples/EthernetDcc/EthernetDcc.ino @@ -22,8 +22,12 @@ void setup() Serial.begin(115200); DCCpp::begin(); - // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. + // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. +#if defined(ARDUINO_ARCH_ESP32) + DCCpp::beginMain(UNDEFINED_PIN, 33, 32, 36); +#else DCCpp::beginMain(UNDEFINED_PIN, DCC_SIGNAL_PIN_MAIN, 3, A0); +#endif DCCpp::beginEthernet(mac, ip, EthernetProtocol::TCP); } diff --git a/examples/MaxiDcc/DCCpp.h.local b/examples/MaxiDcc/DCCpp.h.local new file mode 100644 index 0000000..55b1e8e --- /dev/null +++ b/examples/MaxiDcc/DCCpp.h.local @@ -0,0 +1,57 @@ +//------------------------------------------------------------------- +#ifndef __DCCpp_H__ +#define __DCCpp_H__ +//------------------------------------------------------------------- + +/** @file DCCpp.h +Main include file of the library.*/ + +#define DCCPP_LIBRARY_VERSION "VERSION DCCpp library: 1.4.1" + +#pragma warning (disable : 4005) +//#define DCCPP_DEBUG_MODE +//#define DCCPP_DEBUG_VERBOSE_MODE +#define DCCPP_PRINT_DCCPP +#pragma warning (default : 4005) + +//#define USE_ONLY1_INTERRUPT +#define USE_TURNOUT +#define USE_EEPROM +#define USE_OUTPUT +#define USE_SENSOR +#define USE_TEXTCOMMAND +//#define USE_ETHERNET_WIZNET_5100 +//#define USE_ETHERNET_WIZNET_5500 +//#define USE_ETHERNET_WIZNET_5200 +//#define USE_ETHERNET_ENC28J60 + + +#if defined(USE_ETHERNET_WIZNET_5100) || defined(USE_ETHERNET_WIZNET_5500) || defined(USE_ETHERNET_WIZNET_5200) || defined(USE_ETHERNET_ENC28J60) +#define USE_ETHERNET +#endif + +///////////////////////////////////// + +#include "DCCpp_Uno.h" +#include "PacketRegister.h" +#include "CurrentMonitor.h" +#include "Config.h" +#include "Comm.h" +#ifdef USE_TURNOUT +#include "Turnout.h" +#endif +#ifdef USE_EEPROM +#include "EEStore.h" +#endif +#ifdef USE_OUTPUT +#include "Outputs.h" +#endif +#ifdef USE_SENSOR +#include "Sensor.h" +#endif +#ifdef USE_TEXTCOMMAND +#include "TextCommand.h" +#endif + +#include "DCCpp.hpp" +#endif diff --git a/examples/MaxiDcc/MaxiDcc.ino b/examples/MaxiDcc/MaxiDcc.ino index 1e38343..7e92616 100644 --- a/examples/MaxiDcc/MaxiDcc.ino +++ b/examples/MaxiDcc/MaxiDcc.ino @@ -52,15 +52,25 @@ void setup() buttonEncoder.begin(EVENT_ENCODER, 14, 8, 2); buttonCancel.begin(EVENT_CANCEL, A3); buttonEmergency.begin(EVENT_EMERGENCY, A4); - buttonF0.begin(EVENT_FUNCTION0, A1); - buttonF1.begin(EVENT_FUNCTION1, A2); +#if defined(ARDUINO_ARCH_ESP32) + buttonF0.begin(EVENT_FUNCTION0, A5); + buttonF1.begin(EVENT_FUNCTION1, A6); +#else + buttonF0.begin(EVENT_FUNCTION0, A1); + buttonF1.begin(EVENT_FUNCTION1, A2); +#endif buttonTurnout1.begin(EVENT_TURNOUT1, 30); buttonTurnout2.begin(EVENT_TURNOUT2, 31); DCCpp::begin(); - // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. + // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. +#if defined(ARDUINO_ARCH_ESP32) + DCCpp::beginMain(UNDEFINED_PIN, 33, 32, 36); + DCCpp::beginProg(UNDEFINED_PIN, 21, 22, 23); +#else DCCpp::beginMain(UNDEFINED_PIN, DCC_SIGNAL_PIN_MAIN, 11, A0); DCCpp::beginProg(UNDEFINED_PIN, DCC_SIGNAL_PIN_PROG, 3, A1); +#endif locoId = 3; locoStepsNumber = 128; @@ -140,7 +150,6 @@ void loop() DCCpp::setFunctionsMain(2, locoId, locoFunctions); break; - case DCCINT(100, 0): case EVENT_TURNOUT1: if (turn1.isActivated()) turn1.inactivate(); @@ -148,7 +157,6 @@ void loop() turn1.activate(); break; - case DCCINT(20, 0): case EVENT_TURNOUT2: if (turn2.isActivated()) turn2.inactivate(); @@ -159,4 +167,3 @@ void loop() } } - diff --git a/examples/MiniDcc/MiniDcc.ino b/examples/MiniDcc/MiniDcc.ino index 8ca1d18..fa53a00 100644 --- a/examples/MiniDcc/MiniDcc.ino +++ b/examples/MiniDcc/MiniDcc.ino @@ -8,18 +8,18 @@ description: #include "DCCpp.h" -#define EVENT_NONE 0 -#define EVENT_MORE 1 -#define EVENT_LESS 2 -#define EVENT_SELECT 3 -#define EVENT_CANCEL 4 -#define EVENT_MOVE 5 -#define EVENT_START 6 -#define EVENT_END 7 -#define EVENT_EMERGENCY 8 -#define EVENT_FUNCTION0 9 -#define EVENT_FUNCTION1 10 -#define EVENT_ENCODER 11 +#define EVENT_NONE 0 +#define EVENT_MORE 1 +#define EVENT_LESS 2 +#define EVENT_SELECT 3 +#define EVENT_CANCEL 4 +#define EVENT_MOVE 5 +#define EVENT_START 6 +#define EVENT_END 7 +#define EVENT_EMERGENCY 8 +#define EVENT_FUNCTION0 9 +#define EVENT_FUNCTION1 10 +#define EVENT_ENCODER 11 ButtonsCommanderPush buttonSelect; ButtonsCommanderEncoder buttonEncoder; @@ -29,83 +29,91 @@ ButtonsCommanderSwitchOnePin buttonF0; ButtonsCommanderSwitchOnePin buttonF1; // in this sample, only one loco is driven... -int locoId; // DCC id for this loco -int locoStepsNumber; // 14, 28 or 128 -int locoSpeed; // Current speed -bool locoDirectionForward; // current direction. -FunctionsState locoFunctions; // Current functions +int locoId; // DCC id for this loco +int locoStepsNumber; // 14, 28 or 128 +int locoSpeed; // Current speed +bool locoDirectionForward; // current direction. +FunctionsState locoFunctions; // Current functions void setup() { - Serial.begin(115200); + Serial.begin(115200); - buttonSelect.begin(EVENT_SELECT, A0); - buttonEncoder.begin(EVENT_ENCODER, 14, 8, 2); - buttonCancel.begin(EVENT_CANCEL, A3); - buttonEmergency.begin(EVENT_EMERGENCY, A4); - buttonF0.begin(EVENT_FUNCTION0, A1); - buttonF1.begin(EVENT_FUNCTION1, A2); + buttonSelect.begin(EVENT_SELECT, A0); + buttonEncoder.begin(EVENT_ENCODER, 14, 8, 2); + buttonCancel.begin(EVENT_CANCEL, A3); + buttonEmergency.begin(EVENT_EMERGENCY, A4); +#if defined(ARDUINO_ARCH_ESP32) + buttonF0.begin(EVENT_FUNCTION0, A5); + buttonF1.begin(EVENT_FUNCTION1, A6); +#else + buttonF0.begin(EVENT_FUNCTION0, A1); + buttonF1.begin(EVENT_FUNCTION1, A2); +#endif - DCCpp::begin(); - // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. - DCCpp::beginMain(UNDEFINED_PIN, DCC_SIGNAL_PIN_MAIN, 11, A0); + DCCpp::begin(); + // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. +#if defined(ARDUINO_ARCH_ESP32) + DCCpp::beginMain(UNDEFINED_PIN, 33, 32, 36); +#else + DCCpp::beginMain(UNDEFINED_PIN, DCC_SIGNAL_PIN_MAIN, 11, A5); +#endif - locoId = 3; - locoStepsNumber = 128; - locoSpeed = 0; - locoDirectionForward = true; - //locoFunctions.Clear(); // Already done by the constructor... + locoId = 3; + locoStepsNumber = 128; + locoSpeed = 0; + locoDirectionForward = true; + //locoFunctions.Clear(); // Already done by the constructor... } void loop() { - DCCpp::loop(); - unsigned long event = Commanders::loop(); + DCCpp::loop(); + unsigned long event = Commanders::loop(); - switch (event) - { - case EVENT_ENCODER: - { - int data = Commanders::GetLastEventData(); + switch (event) + { + case EVENT_ENCODER: + { + int data = Commanders::GetLastEventData(); - if (data > 0) - { - if (locoStepsNumber >= 100) - locoSpeed += 10; - else - locoSpeed++; - if (locoSpeed > locoStepsNumber) - locoSpeed = locoStepsNumber; - DCCpp::setSpeedMain(1, locoId, locoStepsNumber, locoSpeed, locoDirectionForward); - } - if (data < 0) - { - if (locoStepsNumber >= 100) - locoSpeed -= 10; - else - locoSpeed--; - if (locoSpeed < 0) - locoSpeed = 0; - DCCpp::setSpeedMain(1, locoId, locoStepsNumber, locoSpeed, locoDirectionForward); - } - break; - } + if (data > 0) + { + if (locoStepsNumber >= 100) + locoSpeed += 10; + else + locoSpeed++; + if (locoSpeed > locoStepsNumber) + locoSpeed = locoStepsNumber; + DCCpp::setSpeedMain(1, locoId, locoStepsNumber, locoSpeed, locoDirectionForward); + } + if (data < 0) + { + if (locoStepsNumber >= 100) + locoSpeed -= 10; + else + locoSpeed--; + if (locoSpeed < 0) + locoSpeed = 0; + DCCpp::setSpeedMain(1, locoId, locoStepsNumber, locoSpeed, locoDirectionForward); + } + break; + } - case EVENT_FUNCTION0: - if (locoFunctions.isActivated(0)) - locoFunctions.inactivate(0); - else - locoFunctions.activate(0); - DCCpp::setFunctionsMain(2, locoId, locoFunctions); - break; + case EVENT_FUNCTION0: + if (locoFunctions.isActivated(0)) + locoFunctions.inactivate(0); + else + locoFunctions.activate(0); + DCCpp::setFunctionsMain(2, locoId, locoFunctions); + break; - case EVENT_FUNCTION1: - if (locoFunctions.isActivated(1)) - locoFunctions.inactivate(1); - else - locoFunctions.activate(1); - DCCpp::setFunctionsMain(2, locoId, locoFunctions); - break; - } + case EVENT_FUNCTION1: + if (locoFunctions.isActivated(1)) + locoFunctions.inactivate(1); + else + locoFunctions.activate(1); + DCCpp::setFunctionsMain(2, locoId, locoFunctions); + break; + } } - diff --git a/examples/SerialDcc/SerialDcc.ino b/examples/SerialDcc/SerialDcc.ino index d09fb63..c9af0c1 100644 --- a/examples/SerialDcc/SerialDcc.ino +++ b/examples/SerialDcc/SerialDcc.ino @@ -15,8 +15,12 @@ void setup() Serial.begin(115200); DCCpp::begin(); - // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. - DCCpp::beginMain(UNDEFINED_PIN, DCC_SIGNAL_PIN_MAIN, 11, A0); + // Configuration for my LMD18200. See the page 'Configuration lines' in the documentation for other samples. +#if defined(ARDUINO_ARCH_ESP32) + DCCpp::beginMain(UNDEFINED_PIN, 33, 32, 36); +#else + DCCpp::beginMain(UNDEFINED_PIN, DCC_SIGNAL_PIN_MAIN, 11, A0); +#endif } void loop() diff --git a/extras/Doc/Comm_8h_source.html b/extras/Doc/Comm_8h_source.html index 524beb0..d40bc93 100644 --- a/extras/Doc/Comm_8h_source.html +++ b/extras/Doc/Comm_8h_source.html @@ -5,7 +5,7 @@ -DCCpp: D:/Mes documents/Trusty/Arduino/Libraries/DCCpp/src/Comm.h Source File +DCCpp: D:/Documents/Arduino/Libraries/DCCpp/src/Comm.h Source File @@ -100,7 +100,7 @@ @@ -481,7 +493,7 @@

Try to identify the address of a decoder on the programming track. Be sure there is only one loco on the track to call this function !

Returns
CV 1 value: the loco decoder Id or -1 if no decoder identified.
-

Definition at line 290 of file DCCpp.hpp.

+

Definition at line 304 of file DCCpp.hpp.

@@ -506,7 +518,7 @@
-

Checks if the given RegisterList is from the main track or not.

Parameters
+

Checks if the given RegisterList is for the main track or not.

Parameters
apRegsRegisterList to check.
@@ -514,7 +526,59 @@
Returns
true if the RegisterList is mainRegs, the one from the main track.
-

Definition at line 186 of file DCCpp.hpp.

+

Definition at line 188 of file DCCpp.hpp.

+ +
+ + +
+
+ + + + + +
+ + + + + + + +
static bool DCCpp::IsMainTrackDeclared ()
+
+inlinestatic
+
+

Checks if beginMain() has been called with the right arguments !

Returns
true if the main track is defined.
+ +

Definition at line 193 of file DCCpp.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static bool DCCpp::IsProgTrackDeclared ()
+
+inlinestatic
+
+

Checks if beginProg() has been called with the right arguments !

Returns
true if the prog track is defined.
+ +

Definition at line 198 of file DCCpp.hpp.

@@ -540,7 +604,7 @@

Main loop function of the library.

-

Definition at line 93 of file DCCpp.cpp.

+

Definition at line 95 of file DCCpp.cpp.

@@ -572,7 +636,7 @@ -

Definition at line 372 of file DCCpp.cpp.

+

Definition at line 374 of file DCCpp.cpp.

@@ -615,7 +679,7 @@ -

Definition at line 413 of file DCCpp.cpp.

+

Definition at line 417 of file DCCpp.cpp.

@@ -658,7 +722,7 @@ -

Definition at line 389 of file DCCpp.cpp.

+

Definition at line 391 of file DCCpp.cpp.

@@ -707,9 +771,9 @@ -
Returns
CV value: the CV value if the value cannot be read.
+
Returns
CV value: the CV value or -1 if the value cannot be read.
-

Definition at line 258 of file DCCpp.hpp.

+

Definition at line 271 of file DCCpp.hpp.

@@ -758,9 +822,9 @@ -
Returns
CV value: the CV value if the value cannot be read.
+
Returns
CV value: the CV value or -1 if the value cannot be read.
-

Definition at line 299 of file DCCpp.hpp.

+

Definition at line 313 of file DCCpp.hpp.

@@ -810,7 +874,7 @@ -

Definition at line 626 of file DCCpp.cpp.

+

Definition at line 634 of file DCCpp.cpp.

@@ -843,7 +907,7 @@
Returns
Previous value.
-

Definition at line 436 of file DCCpp.cpp.

+

Definition at line 442 of file DCCpp.cpp.

@@ -875,7 +939,7 @@ -

Definition at line 218 of file DCCpp.hpp.

+

Definition at line 230 of file DCCpp.hpp.

@@ -907,7 +971,7 @@ -

Definition at line 223 of file DCCpp.hpp.

+

Definition at line 235 of file DCCpp.hpp.

@@ -974,14 +1038,14 @@

Set the functions states of the given decoder on the main track.

Parameters
- +
nRegRegister number. Avoid register 0, used for one shot commands like accessories or CV programming.
nRegRegister number. Original DCC++ use register 0 to send function states only a few times. DCCpp Can use any register to be able to send function packets repeatedly like the speed packets,
inLocoIdDecoder address in short or long format.
inStatesFunctionsState class with the wanted new status.
-

Definition at line 274 of file DCCpp.hpp.

+

Definition at line 287 of file DCCpp.hpp.

@@ -1024,14 +1088,14 @@

Set the functions states of the given decoder on the programming track.

Parameters
- +
nRegRegister number. Avoid register 0, used for one shot commands like accessories or CV programming.
nRegRegister number. Original DCC++ use register 0 to send function states only a few times. DCCpp Can use any register to be able to send function packets repeatedly like the speed packets,
inLocoIdDecoder address in short or long format.
inStatesFunctionsState class with the wanted new status.
-

Definition at line 314 of file DCCpp.hpp.

+

Definition at line 329 of file DCCpp.hpp.

@@ -1094,8 +1158,9 @@ +
Returns
True if the value has been changed. At the moment, always return true...
-

Definition at line 244 of file DCCpp.hpp.

+

Definition at line 257 of file DCCpp.hpp.

@@ -1158,8 +1223,35 @@ +
Returns
True if the value has been changed. At the moment, always return true...
+ +

Definition at line 299 of file DCCpp.hpp.

+ + + + +
+
+ + + + + +
+ + + + + + + +
void DCCpp::showConfiguration ()
+
+static
+
+

Print the list of activated functions.

Remarks
Only available if DCCPP_PRINT_DCCPP is defined.
-

Definition at line 285 of file DCCpp.hpp.

+

Definition at line 260 of file DCCpp.cpp.

@@ -1216,11 +1308,11 @@ -

Definition at line 267 of file DCCpp.hpp.

+

Definition at line 280 of file DCCpp.hpp.

- +
@@ -1228,7 +1320,7 @@ - +
- + @@ -1272,14 +1364,15 @@
static void DCCpp::writeCvProg static bool DCCpp::writeCvProg ( int  inCvId,
+
Returns
False if the writing have failed.
-

Definition at line 307 of file DCCpp.hpp.

+

Definition at line 322 of file DCCpp.hpp.


The documentation for this class was generated from the following files:
    -
  • D:/Mes documents/Trusty/Arduino/Libraries/DCCpp/src/DCCpp.hpp
  • -
  • D:/Mes documents/Trusty/Arduino/Libraries/DCCpp/src/DCCpp.cpp
  • +
  • D:/Documents/Arduino/Libraries/DCCpp/src/DCCpp.hpp
  • +
  • D:/Documents/Arduino/Libraries/DCCpp/src/DCCpp.cpp
@@ -1287,7 +1380,7 @@ @@ -161,7 +161,7 @@

Member Function Documentation

-

Definition at line 41 of file DCCpp.cpp.

+

Definition at line 43 of file DCCpp.cpp.

@@ -179,7 +179,7 @@

Member Function Documentation

Reset all functions to inactive.

-

Definition at line 30 of file DCCpp.cpp.

+

Definition at line 32 of file DCCpp.cpp.

@@ -203,7 +203,7 @@

Member Function Documentation

-

Definition at line 46 of file DCCpp.cpp.

+

Definition at line 48 of file DCCpp.cpp.

@@ -228,7 +228,7 @@

Member Function Documentation

Returns
True if the given function is activated.
-

Definition at line 51 of file DCCpp.cpp.

+

Definition at line 53 of file DCCpp.cpp.

@@ -253,7 +253,7 @@

Member Function Documentation

Returns
True if the given function activation flag is different between activFlags and sentActiveFlags.
-

Definition at line 56 of file DCCpp.cpp.

+

Definition at line 58 of file DCCpp.cpp.

@@ -271,13 +271,13 @@

Member Function Documentation

Copy the current active flags into 'sent' active flags.

-

Definition at line 61 of file DCCpp.cpp.

+

Definition at line 63 of file DCCpp.cpp.


The documentation for this class was generated from the following files:
    -
  • D:/Mes documents/Trusty/Arduino/Libraries/DCCpp/src/DCCpp.hpp
  • -
  • D:/Mes documents/Trusty/Arduino/Libraries/DCCpp/src/DCCpp.cpp
  • +
  • D:/Documents/Arduino/Libraries/DCCpp/src/DCCpp.hpp
  • +
  • D:/Documents/Arduino/Libraries/DCCpp/src/DCCpp.cpp
@@ -285,7 +285,7 @@

Member Function Documentation

-
c | d | f | p | r
+
c | d | e | f | p | r | s | t
- + + + + + - +
  c  
DCCppConfig   
  p  
-
RegisterList   
  f  
-
RegisterList   Turnout   
  e  
+
  s  
+
TurnoutData   
CurrentMonitor   Packet   
  d  
-
FunctionsState   
  r  
-
EEStore   
  r  
+
Sensor   
EEStoreData   SensorData   
DCCpp   
  f  
+
Register   
  t  
+
DCCpp   Register   
FunctionsState   TextCommand   
-
c | d | f | p | r
+
c | d | e | f | p | r | s | t
Here is a list of all modules:
@@ -102,7 +105,7 @@
pinAttached pin. UNEFINED_PIN to inactivate this monitor.
inSignalPinPin to set LOW if a shortcut is detectexd.
msgMessage to send to console when a smoothed current value greater than maximum is detected.
inSampleMaxMaximum value of the current. Default is 300.
inSampleMaxMaximum value of the current. Default is 300 for AVR, 800 for ESP32.
@@ -331,8 +331,8 @@

Member Data Documentation


The documentation for this struct was generated from the following files: @@ -340,7 +340,7 @@

Member Data Documentation

@@ -132,7 +132,7 @@ @@ -119,7 +119,7 @@ @@ -130,7 +130,7 @@ @@ -212,7 +212,7 @@