Commit Graph

86 Commits

Author SHA1 Message Date
Geoff Bunza
3e7ac4967c Add files via upload 2018-08-07 12:32:39 -07:00
Geoff Bunza
29e90c7c9c Delete Dec_2Mot_4LED_Aud_8Ftn.ino 2018-08-07 12:31:55 -07:00
Geoff Bunza
a8d3a32d07 Delete Dec_2Mot_3LED_TrigAud.ino 2018-08-07 12:31:30 -07:00
Geoff Bunza
644fe9abff Delete Dec_2Mot_12LED_1Srv_6Ftn.ino 2018-08-07 12:31:07 -07:00
Geoff Bunza
771d2ae722 Add files via upload 2018-07-31 13:15:54 -07:00
Geoff Bunza
8184159c87 Delete SMA 6.0 Release Notes.rtf 2018-07-31 13:14:42 -07:00
Geoff Bunza
6d23aa0993 Delete Dec_Stepper_6Ftn.ino 2018-07-31 13:14:25 -07:00
Geoff Bunza
b0ac4a4f6f Delete Dec_SMA12_LED_Groups.ino 2018-07-31 13:14:08 -07:00
Geoff Bunza
3bbdad9f8f Delete Dec_Dir_and_Fade.ino 2018-07-31 13:13:57 -07:00
Geoff Bunza
c18ed5b703 Delete Dec_7Serv_10LED_6Ftn.ino 2018-07-31 13:13:45 -07:00
Geoff Bunza
37bb3f8e66 Delete Dec_2Mot_4LED_Aud_8Ftn.ino 2018-07-31 13:13:32 -07:00
Geoff Bunza
70b5530bb4 Delete Dec_2Mot_3LED_TrigAud.ino 2018-07-31 13:13:16 -07:00
Geoff Bunza
8574dda01c Delete Dec_2Mot_12LED_1Srv_6Ftn.ino 2018-07-31 13:12:52 -07:00
Geoff Bunza
90e40f8f91 Delete Dec_17LED_6Ftn.ino 2018-07-31 13:12:39 -07:00
Geoff Bunza
6ed5a97e30 Delete Dec_17LED_1Ftn.ino 2018-07-31 13:12:26 -07:00
Geoff Bunza
e0ceeafcb9 Delete Dec_15Serv_2LED_6Ftn.ino 2018-07-31 13:12:16 -07:00
Geoff Bunza
8ca2e03264 Delete Dec_13Serv_4LED_6Ftn.ino 2018-07-31 13:12:02 -07:00
Geoff Bunza
e6a9f9a825 Delete Dec_10Serv_7LED_6Ftn.ino 2018-07-31 13:11:45 -07:00
Geoff Bunza
06999ee778 Delete AccDec_7Servos_10LED_6Ftn.ino 2018-07-31 13:11:31 -07:00
Geoff Bunza
0277afd827 Delete AccDec_17LED_6Ftn.ino 2018-07-31 13:11:15 -07:00
Geoff Bunza
209256ff44 Delete AccDec_17LED_1Ftn.ino 2018-07-31 13:10:39 -07:00
Geoff Bunza
84fb903af2 Delete AccDec_15Servos_2LED_6Ftn.ino 2018-07-31 13:10:24 -07:00
Geoff Bunza
fd5246040f Delete AccDec_13Servos_4LED_6Ftn.ino 2018-07-31 13:10:10 -07:00
Geoff Bunza
e9e9684c08 Delete AccDec_10Servos_7LED_6Ftn.ino 2018-07-31 13:09:45 -07:00
Geoff Bunza
1a51b94ad3 Delete AccDec_7ServoBackandForth6Ftn.ino 2018-07-31 13:09:27 -07:00
per1234
15da83c411 Use a single tab field separator in keywords.txt (#19)
Each field of keywords.txt is separated by a single true tab. When you use multiple tabs it causes the field to be interpreted as empty. On Arduino IDE 1.6.5 and newer an empty KEYWORD_TOKENTYPE causes the default editor.function.style coloration to be used (as with KEYWORD2, KEYWORD3, LITERAL2). On Arduino IDE 1.6.4 and older it causes the keyword to not be recognized for any special coloration.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
2018-07-15 23:21:17 +12:00
Alex Shepherd
7a3845cbdf Changed the architectures to now be * as we're no longer tied to AVR specific hardware, however I've listed the architectures its been tested on
Fixed a bug with CV bit-write
2018-07-08 00:54:21 +12:00
Alex Shepherd
1717a2efb0 Made some minor tweaks / tidy-ups after committing Franz-Peter's changes 2018-07-07 19:21:48 +12:00
Franz-Peter
32c5597870 Additional changes regarding output addressing and new callback notifyDccCVChanged() (#17)
* outputaddressing corrected

declared notifyDccAccState for backward compatibility

* version define in NmraDcc.h

* DB_PRINT introduced

Changed debug printing to a macro.
Added cv29 to CV-addresses that reset caching of myAddress

* Corrections regarding Outputaddressing

OutputAddress must be a signed variable

* Changes/additions regarding output addressing and CVChange callback
Change Flag FLAGS_OUTPUT_ADDRESS_MODE accordingly, when CV29 Bit 6 (output addressing) is changed.
New callback 'notifyDccCVChange' which is NOT called if the CV is changed by means of the setCV() method

* Shorten Debug Messages

Because of Buffer overrun in the serial output. This leads to blocking
Serial.write() calls

* notifyDccSigState restored

Restore the old callback notifyDccSigState for compatibiltity to version
1.4.2

* switch off debug printing
2018-07-07 13:26:51 +12:00
Geoff Bunza
2de91bd4fd Merge pull request #18 from mrrwa/GB_SMAV6.0_Update&Test
Gb smav6.0 update&test
2018-07-05 16:38:11 -07:00
Geoff Bunza
5a1e0b2997 Delete SMA 5.4 Release Notes.txt 2018-07-05 16:14:20 -07:00
Geoff Bunza
2b12179152 Delete Dec_2MotDrive_12LED_1Srv_6Ftn.ino 2018-07-05 16:13:14 -07:00
Geoff Bunza
c2de60b8cb Add files via upload 2018-07-05 15:18:48 -07:00
Alex Shepherd
f171dd3894 Added new FLAGS_AUTO_FACTORY_DEFAULT flag to enable checking CV 7 & 8 and if value of both is 255 then call notifyCVResetFactoryDefault() if defined 2018-04-18 23:53:01 +12:00
Franz-Peter
778de8ce74 Changes regarding output addressing (#16)
* outputaddressing corrected

declared notifyDccAccState for backward compatibility

* version define in NmraDcc.h

* DB_PRINT introduced

Changed debug printing to a macro.
Added cv29 to CV-addresses that reset caching of myAddress
2018-04-15 20:20:57 +12:00
M1118
ba3264bd87 Addition of notifyServceMode call to allow decoders to turn off high current outputs (#14)
* Add notification for entering and leaving service mode to allow the
decoder to swithc off high current outputs

* Add notification for entering and leaving service mode to allow the
decoder to swithc off high current outputs
2018-04-15 20:13:12 +12:00
Alex Shepherd
0fbe2a13d1 Changed version to 2.0.0
Added more detail to the README.md
NOT READY FOR PRODUCTION YET, needs more checking and change to provide some backwards compatibility for call-backs that had been removed
2018-03-06 18:48:43 +13:00
Alex Shepherd
369786325f updated the examples to reflect the removal of support for the two call-back functions: notifyDccAccState(), notifyDccSigState() 2018-03-01 00:00:15 +13:00
Alex Shepherd
ec801bf463 updated the examples to reflect the removal of support for the two call-back functions: notifyDccAccState(), notifyDccSigState() 2018-02-28 23:50:59 +13:00
Alex Shepherd
90470987a8 Merge branch 'AddOutputModeAddressing'
AddOutputModeAddressing:
  Fixed off-by-one (x4) error with DCC Accessory Output Mode Addressing. Made compatible with the DCC Spec for DCC Accessory Output Mode Addressing CV storage in CV 1 & 9. Its a bit wierd but...
  Added heaps of DEBUG PRINT to the Accessory Decoder section to follow/test the various test cases through the code and to figure out how to make this stuff work. Added more code to make the existing supported functions to be more selective about which packet bits patterns they take notice of as it was too broad previously Will remove some of the notifyCall-Back functions as some were not well conceived at the time and now need to go Testing is NOT complete as there were issues in JMRI that also need to be resolved in sync with this so we're not quite there yet..
  With eeprom_is_ready() for AVR-processors (#13)
  Fixed some bugs around DCC Accessory Output Mode Addressing and handling of edge cases Add function to set Accessory Decoder Address from next received Accessory Decoder command and new notify call-backs when a new address is set Added new notifyDccSigOutputState() with no OutputIndex parameter Bumped version but have NOT tagged the library as it needs more testing and checking for breakage
Added NmraDcc.h documentation changes and logic changes to correct a couple of issue that arose from Ken West performing a standard NMRA DCC Decoder Confirmance test. Added his test sketches and output reports
2017-12-24 16:53:22 +13:00
Alex Shepherd
9294aa29e5 Merge branch 'ESU_ECoS_CV_Programming'
* ESU_ECoS_CV_Programming:
  Added ESU ECoS CV Programming support
2017-12-24 15:25:17 +13:00
Alex Shepherd
844171f2ac Fixed off-by-one (x4) error with DCC Accessory Output Mode Addressing.
Made compatible with the DCC Spec for DCC Accessory Output Mode Addressing CV storage in CV 1 & 9. Its a bit wierd but...
2017-06-25 20:13:19 +12:00
Alex Shepherd
0656f58c5b Added heaps of DEBUG PRINT to the Accessory Decoder section to follow/test the various test cases through the code and to figure out how to make this stuff work.
Added more code to make the existing supported functions to be more selective about which packet bits patterns they take notice of as it was too broad previously
Will remove some of the notifyCall-Back functions as some were not well conceived at the time and now need to go
Testing is NOT complete as there were issues in JMRI that also need to be resolved in sync with this so we're not quite there yet..
2017-06-08 09:58:41 +12:00
Franz-Peter
0d2e8daeaf With eeprom_is_ready() for AVR-processors (#13)
* with eepromReady for AVR

* with eepromReady for AVR
2017-06-04 13:30:31 +12:00
Franz-Peter
92dd2e6ac5 With eeprom_is_ready() for AVR-processors (#13)
* with eepromReady for AVR

* with eepromReady for AVR
2017-05-25 15:19:17 +12:00
Alex Shepherd
07933e42a8 Fixed some bugs around DCC Accessory Output Mode Addressing and handling of edge cases
Add function to set Accessory Decoder Address from next received Accessory Decoder command and new notify call-backs when a new address is set
Added new notifyDccSigOutputState() with no OutputIndex parameter
Bumped version but have NOT tagged the library as it needs more testing and checking for breakage
2017-04-27 01:26:25 +12:00
Franz-Peter
f8f106962f Stm32 support (#12)
* 1st version for STM32

bit detection and EEPROM changed to support STM32

* added STM32F1 support

updated files: library.properties. NmraDcc.cpp, NmraDcc.h

* switch off debug output

* missing #endif added

Testports for esp8266 defined
2017-01-30 17:08:41 +13:00
Alex Shepherd
8c782d5f15 Added ESU ECoS CV Programming support 2016-11-27 22:25:12 +13:00
Alex Shepherd
dafa1c9964 Merged Geoff's Update-Examples-5.4 branch 1.4.2 2016-11-27 19:49:29 +13:00
Alex Shepherd
dcbd20ef7e Merge pull request #11 from mrrwa/Update-Examples-5.4
V5.4 Bug Fixes and Minor Chages
2016-11-27 19:42:57 +13:00