1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 00:26:13 +01:00
Commit Graph

493 Commits

Author SHA1 Message Date
Asbelos
7a20896c8c RTFM not the comments
Comments have a horrible habit of getting out of date.
2020-06-07 20:11:44 +01:00
Asbelos
f2ee681479 Improved average CV read time
Anticipate more zeros than 1s in a typical CV value
2020-06-07 17:02:22 +01:00
Asbelos
d1843fe38e Ack updates and diags commented out
ACK logic now seems to work.
2020-06-07 16:29:53 +01:00
Asbelos
026ee0b7a8 Working ACKs with diagnostics 2020-06-07 15:29:09 +01:00
Asbelos
0ad395a63a Ack Management compiles
but remains untested
2020-06-07 13:48:42 +01:00
Asbelos
b2b6886b52 Reset counter prearation 2020-06-06 11:11:03 +01:00
Asbelos
5144eb6764 Rename parser 2020-06-04 20:55:18 +01:00
Asbelos
e933172ef3 CPU handling
Technique adapted from David Cutting's solution
2020-06-04 20:30:11 +01:00
David Cutting
49cd0a866c Rename Parser 2020-06-04 12:45:49 -06:00
Asbelos
b89c9068ff Compileable JMRIParser
Has Turnout, Output Sensor support.
Needs further cleaning and cross checking against spec.
May implement Daves Comms manager etc.
2020-06-03 14:26:49 +01:00
Asbelos
d42589aff5 Loco reminders speedcode
Saves one byte per loco and avoids recalculating the speed message bits each time
2020-06-03 10:36:01 +01:00
Asbelos
26dffa3be3 Added DCC api readCVBit and getLocoId
Sanity check needed
2020-06-03 09:42:17 +01:00
David Cutting
4033b6a597 Reduce locomotives when compiling for UNO 2020-06-02 16:37:58 -06:00
David Cutting
872ed372df More library changes. 2020-06-02 13:46:37 -06:00
Asbelos
3a8c83afa6 Make last current available from API
Required for JMRI interface.
2020-06-02 13:20:36 +01:00
David Cutting
545eb54ee5
Merge pull request #1 from davidcutting42/railcom
Railcom support
2020-06-01 23:34:48 -06:00
David Cutting
9f60df9f01 Remove build flags and switch back to SERCOM4 2020-06-01 16:31:23 -06:00
Asbelos
23f15131a8 DCC API file tidying
Cruft removal and replace (most) DCC message codes with named constants.
2020-06-01 13:56:02 +01:00
David Cutting
ea3153279b More main file cleanup to reflect library changes 2020-05-30 15:47:12 -06:00
David Cutting
1dd214931f Update main file to reflect library changes 2020-05-30 13:06:45 -06:00
David Cutting
a33270dff3 Added railcom stuff 2020-05-30 03:03:19 -06:00
Asbelos
257a81f969 Throttle fix 2020-05-29 15:44:57 +01:00
David Cutting
9c66b0aea7 Fix SAMD21 EEPROM and prepare for initial testing. 2020-05-27 22:56:29 -06:00
Asbelos
54ef92085b Include file ckleaning 2020-05-27 09:40:12 +01:00
Asbelos
84a6e9759a Turnouts... compiling 2020-05-27 09:24:56 +01:00
Asbelos
864d2936b1 Acks 2020-05-26 18:34:54 +01:00
Asbelos
c16358facc Basic hardware and railcom abstraction 2020-05-26 17:06:15 +01:00
Asbelos
22406b44ed Abstracted Hardware Interface
The hardware interface for all pins and timers is now in Hardware.cpp
2020-05-26 12:44:02 +01:00
David Cutting
37824f586b Select Pololu Motor shield 2020-05-26 03:16:05 -06:00
Asbelos
28be07610a Better diagnostics 2020-05-26 09:44:20 +01:00
David Cutting
7455a45f4d Moved to single timer for both tracks using "stretched zero" trick 2020-05-25 17:21:21 -06:00
Asbelos
a43db19cc0 Redirected string parsing 2020-05-25 23:03:11 +01:00
Asbelos
ed279a26d8 Merged DIAG to be genaral stream
Separate steaming and parsers
2020-05-25 19:59:47 +01:00
Asbelos
09b1277000 JMRI interface starts after CVs read. 2020-05-25 13:38:18 +01:00
David Cutting
c3fd15025e Move timers names to pointers in main file 2020-05-25 04:56:03 -06:00
David Cutting
a3a13967ec Initial commit 2020-05-25 01:43:34 -06:00
Asbelos
02673b5f96 First cut parser 2020-05-24 19:59:49 +01:00
Asbelos
54e1284e01 Implemebnt DCC API layer 2020-05-24 16:07:16 +01:00
Asbelos
0b9f4cf574 Rauilcom cutout 2020-05-24 10:27:33 +01:00
Asbelos
76d7be0ef8 Tidying
Moved pre-delay into timeout so detect ACK ASAP
2020-05-24 09:07:54 +01:00
Asbelos
efc2197a7e Cleanup & comments 2020-05-23 23:22:12 +01:00
Asbelos
2ebf1a6f66 First checkin 2020-05-23 23:02:54 +01:00
Asbelos
e95a1a11a5 Initial commit 2020-05-23 23:00:03 +01:00