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

2467 Commits

Author SHA1 Message Date
Harald Barth
665a540a73 checkResets takes numResets argument 2020-09-08 09:24:37 +02:00
Asbelos
04d7b82c0d I2C diagnostics
Pending removal of Wire.h
2020-09-07 16:19:55 +01:00
Asbelos
20eef04ba7 typo 2020-09-07 11:20:41 +01:00
Asbelos
1031382299 UPdated Example .inos
basic and wifi
2020-09-07 10:51:25 +01:00
Asbelos
449565376a Simple startup
Minimalist startup ino,  all the clever stuff now moved to the examples directory.
2020-09-06 20:24:18 +01:00
Asbelos
bc53b3e599 Cleaned DIAG interface
All DIAGS can be switched off by StringFormatter::diagSerial=NULL;
2020-09-06 20:23:26 +01:00
Asbelos
4e0c227012 Cleaning of Turnout/Output/Sensor
PLEASE BE AWARE, I have not tested Outputs or Sensors either before or after this change.
(and they were certainly wrong before!)
2020-09-06 12:44:19 +01:00
Asbelos
fd466a5e62 Broadcast stop/estop
Avoids directuion change in reminders
2020-09-03 11:28:52 +01:00
Asbelos
266ef01dbe <s> mod 2020-08-28 14:44:06 +01:00
Asbelos
31651d3e44 Optional Timer number override 2020-08-28 12:34:58 +01:00
Asbelos
6939c4c2e3 WifiInterface AP use mac address 2020-08-27 11:18:19 +01:00
FrightRisk
ff296d6c02 Change platformio.ini 2020-08-26 18:19:42 -04:00
Asbelos
9efcad908c Wifiinterfce AP mode
Create DCCEX_555555 with password PASS_555555    .... not yet using mac address.
2020-08-26 13:18:34 +01:00
Asbelos
ef21b0f97e WifiInterface
Recovering after arduino reboot with ES still connected and data inbound
2020-08-24 16:46:16 +01:00
Asbelos
234e5f0d15 Virtual motor driver functions 2020-08-23 22:04:57 +01:00
Asbelos
b225ffb9f3 Prioritise arriving commands over responses
Sems to provide a more reliable system
2020-08-23 19:56:47 +01:00
Asbelos
db31a2b355 Default to POWERMODE::OFF 2020-08-23 14:17:54 +01:00
Asbelos
6a986d2b0c Embed ArduinoTimers library
Makes it so much easier for novice users as the ArduinoTimers libraray is not yet available from the IDE Library Manager.
2020-08-23 14:14:04 +01:00
David Cutting
6e3e8d738d
Remove UNO WiFi Rev2 from default build sequence
Was fouling up the automated checks
2020-08-22 14:12:53 -06:00
David Cutting
7c9597a4c0
Merge pull request #4 from DCC-EX/cs-issue24-boardMgmtSub
Moved to subclasses for board management
2020-08-22 14:04:51 -06:00
David Cutting
b74fba5809 Maeging with master 2020-08-22 14:04:09 -06:00
Asbelos
d3b486a071 Steves Withrottle stuff 2020-08-20 17:16:47 +01:00
Asbelos
f7557f1436 Turn out changes for WiThrottle 2020-08-20 12:38:09 +01:00
Asbelos
55d175adb0 Restartable Wifi interface. 2020-08-20 10:38:59 +01:00
Asbelos
6ad50df2a7 Update MotorDrivers.h
Firebox and fundo driver setups
2020-08-19 20:02:37 +01:00
Asbelos
dd09342214 Config cleanup & http filter
Optional http filter
Additional Firebox motordriver setups (untested)
Config.h removed.
2020-08-19 13:12:39 +01:00
Asbelos
a180700f3a Merge branch 'motor-drivers' 2020-08-17 16:08:46 +01:00
Asbelos
da7275d9a4 Motor drivers tested 2020-08-17 15:30:25 +01:00
Asbelos
7a4fcd228d gradually improving config 2020-08-15 14:10:56 +01:00
Asbelos
cdcb01d300 Compiled motorDriver
New motorDriver design...
2020-08-15 11:32:32 +01:00
David Cutting
867c949674 Added support for Uno Wifi R2 and Nano Every 2020-08-15 00:11:28 -06:00
SteveT
b03776c6f8 sync power state and turnout list/states to all clients 2020-08-14 21:10:02 -04:00
SteveT
a7da30b236 turnout list improvements 2020-08-14 20:46:33 -04:00
Asbelos
ddc3917519 stash incomplete 2020-08-14 22:54:12 +01:00
David Cutting
8f4e4f332a Renamed library dependencies 2020-08-14 11:59:03 -06:00
SteveT
379bf3bc0c reenable address sharing 2020-08-14 10:43:35 -04:00
mstevetodd
5f9324994e
Merge pull request #1 from Asbelos/master
get upstream changes
2020-08-14 08:45:09 -04:00
Asbelos
a217031f24 Withrottle in use change 2020-08-14 12:26:14 +01:00
Asbelos
7815fdcad8 Merge branch 'pr/7' 2020-08-14 12:01:45 +01:00
Asbelos
3b7325f948 Cleaner prog/main sync
Trying to reduce gap between prog and main signals when joined as a siding.
2020-08-14 09:41:14 +01:00
David Cutting
3773cfa7e9 Moved to subclasses for board management 2020-08-13 18:53:21 -06:00
mstevetodd
68255dcadd drop any acquired locos on Q(uit), reduce heartbeat to 2s
also some indentation fixes
note that 2s heartbeat works best with next version of ED.
2020-08-13 16:38:22 -04:00
SteveT
5256c1d021 return new speed and dir to client, add timestamp to DIAG 2020-08-12 21:39:57 -04:00
SteveT
52b0502776 set initial direction forward, forget locos on 2nd missed heartbeat 2020-08-12 15:10:51 -04:00
mstevetodd
ecbedd26bc withrottle changes
disallow acquire if address in use
return error on address 0 and mismatched L/S
move init string to 'HU' reply
some message format fixes
comment-out some DIAGs to show only in and out message traffic
2020-08-12 11:17:05 -04:00
mstevetodd
9cc8843e15
move ssid and password to config.h, restore timeout to full value (#5)
* Update WiThrottle.cpp

I don't believe the /2 is needed. The clients are already expected to provide a bit of extra time for the heartbeat to occur. EngineDriver targets 90% of the heartbeat. I believe WiThrottle does as well.

* move ssid and password into config.h

* Revert "move ssid and password into config.h"

This reverts commit be96b44e88f8b07ac3193dc88ce219d17fa0b43a.

* move ssid and password to config.h
2020-08-01 17:33:10 +01:00
Asbelos
e01b929fd0 Merge branch 'Stream-Reference-Fix' 2020-08-01 17:00:31 +01:00
Asbelos
9044cce2a3 Change Stream refernces to pointers
I misunderstood that references can never be changed.
2020-08-01 16:32:16 +01:00
Harald Barth
7c94a3c881 comments and constant as unsigned 2020-08-01 15:03:15 +02:00
Harald Barth
93446f19ed Two functions changeFn and setFn dependent on if called from WiThrottle or DCCEXparser 2020-08-01 14:06:39 +02:00