Compare commits
3 Commits
b7f10b326f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| acd96258c1 | |||
| 1391da56df | |||
| bfe174530d |
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -1473,6 +1473,16 @@
|
|||||||
)
|
)
|
||||||
(uuid "d3b31b79-911b-4ab7-9df8-99c01e82b5e4")
|
(uuid "d3b31b79-911b-4ab7-9df8-99c01e82b5e4")
|
||||||
)
|
)
|
||||||
|
(text "0603L050SLYR\n6V\n0,5 A\npdy Fuse"
|
||||||
|
(exclude_from_sim no)
|
||||||
|
(at 119.126 109.728 0)
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(uuid "1ef5743a-7927-4250-8a14-2ce22e794e83")
|
||||||
|
)
|
||||||
(symbol
|
(symbol
|
||||||
(lib_id "power:+3.3V")
|
(lib_id "power:+3.3V")
|
||||||
(at 175.26 97.79 0)
|
(at 175.26 97.79 0)
|
||||||
|
|||||||
@ -192,7 +192,7 @@ int main(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Inverted in hardware
|
// Inverted in hardware
|
||||||
if ((HAL_GetTick() - ams_last_tick) < 80) {
|
if ((HAL_GetTick() - ams_last_tick) < 150) { //master sendet aller 100ms, fürs testen erstmal auf 150ms gesetzt -> kann später wieder runter
|
||||||
HAL_GPIO_WritePin(IMD_LED_GPIO_Port, IMD_LED_Pin, dash_rx.imd_ok);
|
HAL_GPIO_WritePin(IMD_LED_GPIO_Port, IMD_LED_Pin, dash_rx.imd_ok);
|
||||||
HAL_GPIO_WritePin(AMS_LED_GPIO_Port, AMS_LED_Pin, dash_rx.ams_state != TS_ERROR);
|
HAL_GPIO_WritePin(AMS_LED_GPIO_Port, AMS_LED_Pin, dash_rx.ams_state != TS_ERROR);
|
||||||
HAL_GPIO_WritePin(TSOFF_LED_GPIO_Port, TSOFF_LED_Pin, dash_rx.ams_state == TS_INACTIVE);
|
HAL_GPIO_WritePin(TSOFF_LED_GPIO_Port, TSOFF_LED_Pin, dash_rx.ams_state == TS_INACTIVE);
|
||||||
|
|||||||
Reference in New Issue
Block a user