Harald Barth
1807189183
make it possible to disable EEPROM code to save flash space
2021-11-08 02:07:21 +01: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
Harald Barth
4901f12fcd
make own task on core0 for WifiESP::loop() on ESP32
2021-11-06 02:40:49 +01:00
Harald Barth
836ccc143e
check power overload only when not ack check
2021-11-03 09:45:30 +01:00
Harald Barth
77ee57eb83
give up eventually
2021-11-02 17:50:32 +01:00
Harald Barth
837b0a9fb6
typo
2021-10-31 23:46:25 +01:00
Harald Barth
a109ba4e01
unknown locos should have speed forward
2021-10-31 23:35:28 +01:00
Harald Barth
055bc7bfe2
unknown locos should have speed forward
2021-10-31 22:20:59 +01:00
Harald Barth
79ce71c2f9
Committing a SHA
2021-10-31 21:18:17 +00:00
Harald Barth
e3cbaf5f24
unknown locos should have speed forward
2021-10-31 22:17:51 +01:00
Harald Barth
c87a80928b
special tag
2021-10-31 22:06:22 +01:00
Harald Barth
c5b283bd8c
should compile for all boards
2021-10-31 01:10:13 +02:00
Harald Barth
500fe2f717
more diag messages
2021-10-31 00:40:35 +02:00
Harald Barth
278f7618f4
do something i AP mode
2021-10-31 00:10:58 +02:00
Harald Barth
250c372f5c
Committing a SHA
2021-10-29 20:30:40 +00:00
Harald Barth
a9c31eb1ae
YFROBOT: One more motor board with L298P
2021-10-29 22:30:01 +02:00
Harald Barth
9d74b0f6a5
set pinMode analog
2021-10-29 22:19:23 +02:00
Harald Barth
31059a615c
use ESP-IDF ADC functions instead of analogRead() which breaks waveform
2021-10-27 23:03:37 +02:00
Harald Barth
7d7b337f82
on ESP32 currently WIFI should be on
2021-10-24 19:38:07 +02:00
Harald Barth
05eb0d763a
explain ESP32 watchdog
2021-10-24 12:59:28 +02:00
Harald Barth
b6cfc39d23
ESP32 watchdog workaround (with diag code)
2021-10-24 12:09:54 +02:00
Harald Barth
8a0ddb0d74
ESP32 I/O info
2021-10-22 08:35:29 +02:00
Harald Barth
faeb3194db
ESP32 motorshield as default
2021-10-22 08:21:44 +02:00
Asbelos
b9fed47d24
Merge branch 'EX-RAIL' of https://github.com/DCC-EX/CommandStation-EX into EX-RAIL
2021-10-21 22:44:47 +01:00
Asbelos
151f7d7f86
Fixup EXRAIL Read Loco issues
2021-10-21 22:44:25 +01:00
Neil McKechnie
b7bcd13347
Fix Arduino pin pullup initial state.
...
If an Arduino pin was used as an input (e.g. by EXRAIL) without previously configuring it, the default pullup wouldn't be set up. Now, on first call to the _read() method the pullup will be enabled.
2021-10-21 16:43:42 +01:00
Neil McKechnie
4f16a4ca06
Fix GPIO Expander initial output state.
...
Previously, pullups were enabled on GPIO Expander digital pins by default, even if the pin was only ever used as an output. This could lead to a spurious HIGH state being seen by external equipment before the output is initialised to LOW. To avoid this, the pin pullup is now not enabled until a configure or read operation is issued for the pin.
2021-10-15 18:44:51 +01:00
Neil McKechnie
9097a62f42
Add new <D ANIN vpin> and <D ANOUT vpin value> commands.
...
Alias for existing <D SERVO ...> command added as <D ANOUT ...> (since not all analogue outputs are servos). Also, <D ANIN vpin> added to display the value of an analogue input pin.
2021-10-08 13:30:23 +01:00
Neil McKechnie
80472a76dc
I2CManager - support slower I2C speeds.
...
Previously the driver allowed speeds down to 32kHz but lower speeds were not implemented correctly.
2021-10-08 13:28:43 +01:00
Harald Barth
26bd3ac342
Example ESP motor shields
2021-10-05 21:55:13 +02:00
Harald Barth
d174c05127
Wifi connect and waveform
2021-10-05 21:53:02 +02:00
Neil McKechnie
6dde811279
Optimise HAL drivers for TOF sensor and Analogue Inputs
...
Increased use of async I2C in HAL drivers to reduce overall loop time overhead.
2021-10-05 12:48:45 +01:00
Harald Barth
75dffd9dfa
first ESP32 compile
2021-10-05 10:39:08 +02:00
Harald Barth
0a10dbea0b
not forget volatile
2021-10-04 23:12:47 +02:00
Harald Barth
43191e225e
first stab at ESP32
2021-10-04 23:03:36 +02:00