Bug Report: Amber signal using SIGNAL() stays lit, or unlit #295
Labels
Bug
Something isn't working as designed
EX-CommandStation
Item relates to the core EX-CommandStation code
Version
4.2.9pre1
Bug description
When running this sequence, the amber LED tends to stay lit at all times after it is turned on the first time. I can't determine a specific pattern, but it will eventually turn off, but then it stays off for a few cycles, then turns on again and stays on.
I've also noted a couple of times that the green LED does not light as well, but the majority of time it does.
If using SET/RESET to replicate the behaviour of the signals, the LEDs turn on and off exactly as expected.
I have used a servo signal with the same sequence and it operates perfectly.
Steps to reproduce the bug
Use this sequence.
`
SIGNAL(809, 810, 811)
AUTOSTART SEQUENCE(3)
RED(809)
DELAY(2000)
AMBER(809)
DELAY(2000)
GREEN(809)
DELAY(2000)
FOLLOW(3)
`
When using SET/RESET instead to control those LEDs on the same Vpins, they work correctly:
AUTOSTART SEQUENCE(3) SET(809) RESET(810) RESET(811) DELAY(2000) SET(810) RESET(809) RESET(811) DELAY(2000) SET(811) RESET(809) RESET(810) DELAY(2000) FOLLOW(3)
Expected behaviour
The signal should alternate between red, amber, green, and back as per the sequence instructions.
Screenshots
No response
Hardware in use
Nucleo F411RE (CS)
Arduino Uno (EX-IOExpander)
Additional context
No response
The text was updated successfully, but these errors were encountered: