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

2110 Commits

Author SHA1 Message Date
Asbelos
effbdea477 Improved comments and <#> diagnostic 2020-06-19 10:45:08 +01:00
Asbelos
c5045e4cac Implement <1 MAIN> etc. 2020-06-19 09:19:41 +01:00
Asbelos
5872659ff2 Command Filter and some extra APIs. 2020-06-18 19:36:37 +01:00
Asbelos
ffea04a499 tIMER WRAP PROTECTION and broadcast speed fix 2020-06-16 11:06:36 +01:00
Asbelos
506f9e4353 More PROGMEM tuning 2020-06-13 15:53:46 +01:00
Asbelos
8538aa1624 Wifi Interface WORKING 2020-06-13 11:17:06 +01:00
Asbelos
2a36ad365c WifiInterface compiles
Basic logic compiles... untested
2020-06-13 09:36:10 +01:00
David Cutting
2e5e071fbb
Create LICENSE 2020-06-12 22:51:42 -06:00
Asbelos
0a60a36d30 Wifi Interface Setup
Performs connection etcc... still not passing cmds to dcc
2020-06-12 19:56:40 +01:00
Asbelos
e0c76a9dc4 Alter Stream to Print
In prep for Wifi siolution, all output  functions changed to expect Print class instead of Stream... Can still pass Serial1 etc because Stream extends Print, but this allows for an output-only class extending Print to collect a response buffer for Wifi sending with AT commands.
2020-06-12 14:28:35 +01:00
David Cutting
69a47d8559 Cleanup to reflect library changes, including splid Main/Service track. 2020-06-11 19:30:45 -06:00
David Cutting
cdfb37c8b5 Fix indentation and refactor for split class 2020-06-11 13:24:00 -06:00
Asbelos
e769361c26 back working no wifi 2020-06-11 13:35:16 +01:00
Asbelos
aebc35b183 Restructure to support multiple input streams
Preparation for Wifi without adding any Wifi specifics.
2020-06-10 17:31:26 +01:00
Asbelos
4d80152ad0 ACK Timer correction 2020-06-09 08:38:27 +01:00
Asbelos
50cbcabe00 ACK pulse timins refer @haba 2020-06-09 08:35:14 +01:00
Asbelos
f8f4268a48 Get loco Id API test 2020-06-08 13:04:47 +01:00
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