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

1795 Commits

Author SHA1 Message Date
Neil McKechnie
f86a14ceab Servo profile - avoid overrun of array bounds. 2021-08-12 21:17:40 +01:00
Asbelos
329df3a3ee correct example sensors 2021-08-12 20:35:56 +01:00
Neil McKechnie
5932b4d101 Remove unnecessary servo output demands.
If start and end position of a servo movement are identical, skip all but the last step.
2021-08-12 12:02:18 +01:00
Neil McKechnie
ec503e7d3e Make IODevice::read function return type consistent with underlying _read calls.
IODevice::read() now returns int, instead of bool.  This is consistent with the IODevice::_read() return and also allows for future devices that return a non-boolean value.
2021-08-12 12:01:10 +01:00
Neil McKechnie
2a79f67308 Fix EEPROM handling for outputs.
Output definitions in EEPROM were being lost once the output was activated or deactivated.  The handling has been corrected and tested.
2021-08-12 11:59:32 +01:00
Asbelos
23291b499f EXRAIL LCD macro 2021-08-12 08:53:52 +01:00
Asbelos
22b5d5e4c4 default off DIAG_LOOPTIMES 2021-08-12 08:32:48 +01:00
Asbelos
a0791b041c Fix status display 2021-08-12 08:25:51 +01:00
Asbelos
a93f88d3b7 PRINT command 2021-08-10 16:32:23 +01:00
Asbelos
b06db69b53 correct example 2021-08-10 10:41:35 +01:00
Asbelos
67be436898 Correct throw/close re haba 2021-08-08 18:48:51 +01:00
Asbelos
270b9df523 Remove obsolete docs 2021-08-04 08:54:29 +01:00
FrightRisk
5eff4c5ee5 Squash all commits on RMFT branch to create EX-RAIL branch 2021-08-03 17:12:25 -04:00
Harald Barth
f8fb08e331 Committing a SHA 2021-07-31 13:41:32 +00:00
Harald Barth
50fcbc088a fix version.h of merge 2021-07-31 15:40:32 +02:00
Harald Barth
e2263b1e75 Committing a SHA 2021-07-31 13:35:39 +00:00
Harald Barth
5eabe934b8 Merge branch 'master' into copyrightmessages 2021-07-31 15:32:02 +02:00
Harald Barth
8f1ed21aa3 Allow some pins that might be useful 2021-07-27 19:53:21 +02:00
Harald Barth
2443e5903c Fix type warnings 2021-07-27 18:39:54 +02:00
Harald Barth
a88454dded Disallow pins <= 7 2021-07-27 18:35:22 +02:00
Harald Barth
c292f210a4 datatypes used in eeprom should be a data type that has a given size 2021-07-25 23:12:12 +02:00
Harald Barth
cc4de0ad14 fix size of struct at right place 2021-07-25 23:07:20 +02:00
Harald Barth
1fab0f586b Merge branch 'output-wordsize' of github.com:DCC-EX/CommandStation-EX into output-wordsize 2021-07-25 22:54:18 +02:00
Harald Barth
c15d5048b5 EEPROM format heuristics 2021-07-25 22:53:20 +02:00
Harald Barth
ec2295219d 3rd arg of Z is bitfield 2021-07-24 23:44:24 +02:00
Harald Barth
d3ef5f53ae Committing a SHA 2021-07-24 19:22:25 +00:00
Harald Barth
1941402c52 reserve version number 2021-07-24 21:21:57 +02:00
Harald Barth
7206e46273 Merge branch 'master' into output-wordsize 2021-07-24 21:15:33 +02:00
Harald Barth
f24bcd6819 step version 2021-07-24 21:14:19 +02:00
Harald Barth
cb64725b42 make output ID two bytes 2021-07-24 21:11:18 +02:00
Neil McKechnie
129d1c2039 Committing a SHA 2021-07-22 20:49:33 +00:00
Neil McKechnie
52e8a93945 Fix LCD corruption on power-up.
LCD was not working correctly on power up, but was subsequently OK on reset.  Problem was caused by an uninitialised variable.
2021-07-22 21:49:09 +01:00
Harald Barth
4f0c80a503 Turnout states according to RCN-123 where Thrown is 0 and Closed is 1. Additional protection against invalid chars in protocol 2021-07-16 10:24:11 +02:00
Neil McKechnie
88949358b4 Committing a SHA 2021-07-13 20:15:56 +00:00
Neil McKechnie
38be1d6152
Refactor OLED and LCD drivers (#178)
* Refactor SSD and LCD drivers

Rework display drivers to use inheritance and to remove unused functionality.  The changes here were previously in neil-hal branch but have been separated out because of the amount of changes in neil-hal.

* Update version.h
2021-07-13 21:15:38 +01:00
Asbelos
683f9d33fe Ignore <+> from wifi or ethernet 2021-06-30 22:01:18 +01:00
Asbelos
33b5f4fdf0 <+> command passthrough 2021-06-30 18:05:03 +01:00
Fred
29a4ad0072 Committing a SHA 2021-06-10 23:03:54 +00:00
Fred
a473f6ae5c
Update version.h 2021-06-10 19:03:38 -04:00
Fred
915af8d981 Committing a SHA 2021-06-10 23:02:35 +00:00
Fred
6eeaacdf90
Add loop to retry Ethernet cable connection (#173)
Implement PaulS's change to delay in a loop to give more time for sensing an Ethernet cable connection
2021-06-10 19:02:20 -04:00
Fred
766f88166c Committing a SHA 2021-06-10 18:24:13 +00:00
Fred
afd08dafc1
Update version.h 2021-06-10 14:23:57 -04:00
Ash-4
7851e7099c Committing a SHA 2021-06-10 18:23:17 +00:00
Ash-4
04403bbf5e
Update DCC.cpp (#165)
lines 906-910 added. avoid wait after write. use 1 PROG
2021-06-10 14:23:00 -04:00
Fred
55cce0ef99 Committing a SHA 2021-06-10 18:07:16 +00:00
Fred
dc4fa57dc6
Update version.h 2021-06-10 14:06:59 -04:00
Neil McKechnie
75eefc7677 Committing a SHA 2021-06-10 15:25:03 +00:00
Neil McKechnie
79763a3bb8
SH1106 OLED Display Offset Fix (#169)
Correct display offset for SH1106.  The SH1106 supports 132 columns but most displays use 128 column OLED, connected to the middle columns 2-129.
2021-06-10 11:24:44 -04:00
Harald Barth
3fa805c0e7 Merge branch 'master' into copyrightmessages 2021-05-16 08:12:09 +02:00