Harald Barth
237846f190
clean up diag, multiple gpio pin test worked
2022-07-30 15:47:19 +02:00
Harald Barth
6c940615f6
make mDC a vector in the Container and bugfixes
2022-07-30 15:33:47 +02:00
Harald Barth
342b9798f0
define GETFLASHP for pointers
2022-07-30 15:32:02 +02:00
Harald Barth
a5d47e0c2c
make mDC a singleton static member of MotorDriverContainer
2022-07-30 15:28:09 +02:00
Harald Barth
feebe67ecb
fix compiler Werror
2022-07-30 10:40:45 +02:00
Harald Barth
c711be7980
DCCTrack::schedulePacket allows multiple different motordrivers side by side
2021-11-22 23:26:04 +01:00
Harald Barth
ed2aa4c1d8
remove virtual
2021-11-22 04:01:48 +01:00
Harald Barth
82df3a21dc
Rename RMTPin to RMTChannel
2021-11-22 03:55:00 +01:00
Harald Barth
c00d3a825d
Shield RMT stuff with ifdef ESP32
2021-11-22 03:24:15 +01:00
Harald Barth
35ee03537d
version
2021-11-21 22:56:14 +01:00
Harald Barth
f7e90e7b73
MotorDriverContainer (multi-motordriver) start
2021-11-21 22:53:17 +01:00
Harald Barth
2632d44ec9
remove packetPendingRMT from wrong if
2021-11-21 21:28:56 +01:00
Harald Barth
c8e5123c0a
fix compile errors on ESP32
2021-11-21 00:51:59 +01:00
Harald Barth
e7e26551ce
Merge branch 'master' into ESP32
2021-11-20 23:38:12 +01:00
Harald Barth
50b854c526
remove extra zero bit
2021-11-19 00:34:56 +01:00
Harald Barth
55a789d65a
set RMT clock to microseconds
2021-11-19 00:03:21 +01:00
Harald Barth
a69b7ee113
change to RMT loop mode
2021-11-18 23:57:53 +01:00
Harald Barth
114686d124
cleanup comments
2021-11-15 23:10:23 +01:00
Harald Barth
005ddef665
Transmit DCC packet to loco
2021-11-15 22:28:30 +01:00
Neil McKechnie
d7fd9e1538
Committing a SHA
2021-11-15 16:16:55 +00:00
Neil McKechnie
197228c3b0
Update version to 3.2.0 rc4
2021-11-15 16:13:54 +00:00
Neil McKechnie
620dcbf925
Update myHal.cpp_example.txt
...
Update examples
2021-11-15 14:58:12 +00:00
Neil McKechnie
82f121c8ef
Some comment changes
2021-11-15 14:45:03 +00:00
Neil McKechnie
6c98f90151
Reduce I2C interrupt time
...
Reduce the time spent with interrupts disabled in I2CManager response code by enabling interrupts after the state machine has finished.
Also, some comment changes.
2021-11-15 14:30:27 +00:00
Neil McKechnie
c90ea0c6df
Improve validation of parameters to non-HAL digital calls.
...
When testing CS in minimal HAL mode but with mySetup.h and myAutomation.h files present, I experienced freezing of the arduino because the standard pinMode, digitalWrite etc don't validate the pin number passed to them. So I've added checks on the pin number to the configure, write and read functions in the minimal HAL.
2021-11-15 13:25:11 +00:00
Neil McKechnie
d08f14be3b
Rename user module mySetup.cpp to myHal.cpp, and function mySetup() to halSetup() within it.
2021-11-15 12:50:02 +00:00
Harald Barth
10209ed6f3
remove uneccessary workaround, compensate for interrupt length
2021-11-14 15:35:26 +01:00
Harald Barth
71117bc7a1
special version
2021-11-14 14:49:55 +01:00
Harald Barth
97065e892d
transmit preamble and idle
2021-11-14 14:48:32 +01:00
Harald Barth
4668e116f4
preambles running
2021-11-14 13:10:16 +01:00
Neil McKechnie
fb97ba11de
Committing a SHA
2021-11-12 00:09:59 +00:00
Neil McKechnie
ee5db61349
Update version.h to 3.2.0 rc3.
2021-11-12 00:06:29 +00:00
Neil McKechnie
b384d6c14d
Move call to mySetup into IODevice::begin().
...
Ensure that HAL devices are created before use by moving the call to mySetup into IODevice::begin(). The need for this became evident when it was noted that RMFT (EX-RAIL) interacts with HAL devices during its initialisation, by enabling pull-ups on digital inputs.
Any
2021-11-12 00:05:16 +00:00
Neil McKechnie
58fe81bf06
Update EthernetInterface.h
...
Remove spurious character.
2021-11-11 23:59:50 +00:00
Harald Barth
0e78cf6e55
Committing a SHA
2021-11-07 23:20:28 +00:00
Harald Barth
6c75563779
handle negative pins
2021-11-08 00:19:23 +01:00
Harald Barth
89dcafb2d7
Committing a SHA
2021-11-07 16:04:52 +00:00
Harald Barth
37904b5fa6
make rc1
2021-11-07 17:03:28 +01:00
Harald Barth
fbca15d2a7
Merge branch 'master-ex-rail'
2021-11-07 17:01:16 +01:00
Harald Barth
177c8c0367
Merge branch 'EX-RAIL-sensormod'
2021-11-07 16:17:22 +01:00
Harald Barth
7ea3faf177
Merge branch 'EX-RAIL'
2021-11-07 16:14:38 +01:00
Harald Barth
d3381c6b2d
Committing a SHA
2021-11-07 15:05:58 +00:00
Harald Barth
8853b23f88
uopdate version.h
2021-11-07 16:04:49 +01:00
Harald Barth
5cbf0c2cad
defines.h needed to get ESP32 macro on non-ESP32
2021-11-07 00:21:15 +01:00
Harald Barth
c02e976c9f
protect ringstream typo fix
2021-11-07 00:12:11 +01:00
Harald Barth
55c7a0a1e8
protect ringstream
2021-11-06 23:51:32 +01:00
Harald Barth
a16f6c8749
configure pins correct even when HAL not used
2021-11-06 22:12:32 +01:00
Harald Barth
e3d771a24d
set default pullup in EXRAIL begin code
2021-11-06 21:57:06 +01:00
Harald Barth
d7e46ac625
set version
2021-11-06 03:04:50 +01:00
Harald Barth
877db433a4
make task startup nicer
2021-11-06 02:59:57 +01:00