Harald Barth
|
e81d1cc93a
|
Better warnings for pin number errors
|
2023-05-29 09:48:22 +02:00 |
|
Harald Barth
|
be4235e792
|
Arduino Mega2560: Use timer5 as timer4 for PWM DC
|
2023-05-24 13:29:20 +02:00 |
|
Harald Barth
|
b80d7bd517
|
Pin handling supports pins up to 254
|
2023-05-21 11:54:46 +02:00 |
|
Harald Barth
|
132b0773ef
|
Fault pin handling made more straight forward
|
2023-05-20 23:15:15 +02:00 |
|
Harald Barth
|
235bcc9ff0
|
Merge branch 'devel' into devel-invfault
|
2023-04-17 23:20:01 +02:00 |
|
pmantoine
|
d2cc60812d
|
Merge ESP32-fixes into DCCTimerESP
|
2023-04-16 15:40:27 +08:00 |
|
Harald Barth
|
bfa33a9df7
|
Fix STM32 set right port mode bits for analog port
|
2023-04-10 01:47:00 +02:00 |
|
Harald Barth
|
2fb485847f
|
exchange pin number to track letter
|
2023-03-20 10:03:02 +01:00 |
|
Harald Barth
|
f94a5f971e
|
Bugfix signalpin2 was not set up in shadow port
|
2023-03-07 16:20:00 +01:00 |
|
Harald Barth
|
31ecba08d8
|
faultPin can be inverted (from its inverted sense
|
2023-03-03 20:51:32 +01:00 |
|
Asbelos
|
f0c1ea958c
|
4.2.19 sensorOffset bugfix
|
2023-03-02 10:45:39 +00:00 |
|
Harald Barth
|
b01e4388ce
|
Small typo in tone scale
|
2023-02-28 15:17:04 +01:00 |
|
Neil McKechnie
|
79437bbf37
|
Update MotorDriver.cpp
Remove unnecessary and undesirable interrupt disable/enable when writing to HAL driver.
|
2023-01-14 17:10:45 +00:00 |
|
Harald Barth
|
1a67930af4
|
make tones like a Taurus
|
2022-10-22 00:48:53 +02:00 |
|
Harald Barth
|
cf89fe2a72
|
make max ADC value a per platform ADC function
|
2022-10-12 23:45:10 +02:00 |
|
Harald Barth
|
c36234df73
|
Dont forget ESP32 has 12 bits ADC
|
2022-10-05 23:43:09 +02:00 |
|
Harald Barth
|
e0bf978f2b
|
Change Adc to ADCee because of SAMD conflict
|
2022-10-04 22:19:51 +02:00 |
|
Harald Barth
|
ee568fcd11
|
make the Adc class functions the normal code path
|
2022-10-04 21:55:13 +02:00 |
|
Harald Barth
|
b7295c4923
|
add class Adc instead of motordriver specific analog pin read
|
2022-10-04 00:32:48 +02:00 |
|
Harald Barth
|
5e616a9eb2
|
make compile for other arch but AVR
|
2022-10-02 22:53:35 +02:00 |
|
Harald Barth
|
24e5e648b8
|
improve current sense sampling on AVR
|
2022-10-02 13:40:46 +02:00 |
|
Harald Barth
|
c47e9b79ca
|
do analogRead without need for noInterrupt - first test
|
2022-10-02 00:43:46 +02:00 |
|
Harald Barth
|
c6866aba86
|
Fundumoto board does not have brake
|
2022-08-30 22:45:10 +02:00 |
|
Harald Barth
|
7d1d6bf1e1
|
make inverted power pin possible, lower DC frequency on Mega and for Uno if inverted def is used
|
2022-08-30 22:12:10 +02:00 |
|
Harald Barth
|
08427abe70
|
Workarounds for bugs and functionality not in the Arduino ESP32 package
|
2022-08-30 09:31:09 +02:00 |
|
Harald Barth
|
86215b28ae
|
Bugfix: Preserve direction all times when switching between DCC and DC
|
2022-08-23 07:56:56 +02:00 |
|
Harald Barth
|
827e4fef86
|
be consistent about that tripValue is already over limit
|
2022-08-22 08:48:33 +02:00 |
|
Harald Barth
|
43b7b5d797
|
adjust max current limit to ADC capability
|
2022-08-22 08:47:37 +02:00 |
|
Harald Barth
|
04188926b4
|
Improve messages for power overload
|
2022-08-17 09:19:47 +02:00 |
|
Harald Barth
|
76c5608181
|
Protect port registers from change during interrupt code in differnet way
|
2022-08-09 13:12:04 +02:00 |
|
pmantoine
|
17bdd2d724
|
Teensy build support, STM32F411RE first beta
|
2022-08-06 16:53:14 +08:00 |
|
Harald Barth
|
33327d14c9
|
Current reading for ACK and overload on ESP32
|
2022-08-02 21:49:16 +02:00 |
|
Harald Barth
|
863f2f4a85
|
eliminate resetsCounterP/setResetCounterPointer and replace with isProgTrack/makeProgTrack method
|
2022-08-02 15:36:51 +02:00 |
|
Asbelos
|
385afdeb6c
|
Merge remote-tracking branch 'origin/TrackManager_SAMD' into PORTX_HAL
|
2022-07-07 10:02:28 +01:00 |
|
Asbelos
|
06d1040da0
|
Merge remote-tracking branch 'origin/SAMD_Integration_PMA' into PORTX_HAL
|
2022-07-06 17:13:59 +01:00 |
|
Harald Barth
|
6687c6f46d
|
when brake pin has inverted sense, honor that when running in DC mode as well
|
2022-07-04 23:15:02 +02:00 |
|
Harald Barth
|
9a98d10a86
|
rename fakePORT* to shadowPORT*
|
2022-06-13 23:18:10 +02:00 |
|
Harald Barth
|
4833eaac65
|
move all arch dependent port register declarations to MotorDriver.h
|
2022-06-13 23:15:35 +02:00 |
|
Harald Barth
|
7fba96417f
|
Merge branch 'TM_nofloat' into TM-mergetest
|
2022-06-11 22:14:56 +02:00 |
|
Harald Barth
|
4297ed5572
|
remove global usePWM flag
|
2022-06-11 20:09:21 +02:00 |
|
Harald Barth
|
62e471606d
|
remember the base case
|
2022-06-07 00:18:48 +02:00 |
|
Harald Barth
|
0ab96d28c4
|
make compile on Uno
|
2022-06-06 23:45:28 +02:00 |
|
Harald Barth
|
b24f6b27c6
|
protect setSignal() changes in setDCSignal from being changed back during interrupt vis setDCCSignal
|
2022-06-06 23:14:35 +02:00 |
|
Asbelos
|
2b2012ef1d
|
float memory saver
|
2022-06-06 17:37:23 +01:00 |
|
Harald Barth
|
79ef114c0d
|
protect from setting unused pin
|
2022-05-21 09:51:38 +02:00 |
|
pmantoine
|
6135272c32
|
SAMD Support Initial Patches
|
2022-05-17 18:06:08 +08:00 |
|
Harald Barth
|
d7a17b10b4
|
use ugly macros to make PORTX code portable
|
2022-05-13 00:05:25 +02:00 |
|
Harald Barth
|
af0d381e45
|
shadow PORTX (PoC)
|
2022-05-10 23:42:21 +02:00 |
|
Harald Barth
|
4a56998553
|
inline setSignal ; bugfix HA switching code by doing clearPWM
|
2022-05-10 23:37:24 +02:00 |
|
Harald Barth
|
7a2fd90bfc
|
set the reset packet counter of the prog track to 0 every time the track is turned on
|
2022-04-30 23:24:51 +02:00 |
|