Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Amber signal using SIGNAL() stays lit, or unlit #295

Open
peteGSX opened this issue Jan 21, 2023 · 1 comment
Open

Bug Report: Amber signal using SIGNAL() stays lit, or unlit #295

peteGSX opened this issue Jan 21, 2023 · 1 comment
Labels
Bug Something isn't working as designed EX-CommandStation Item relates to the core EX-CommandStation code

Comments

@peteGSX
Copy link
Contributor

peteGSX commented Jan 21, 2023

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

@peteGSX peteGSX added the Bug Something isn't working as designed label Jan 21, 2023
@github-actions github-actions bot added the EX-CommandStation Item relates to the core EX-CommandStation code label Jan 21, 2023
@peteGSX
Copy link
Contributor Author

peteGSX commented Jan 21, 2023

When using the same signal manually, it is more reliable, but occasionally the amber LED does not turn on. I haven't had it stay on though (at least not yet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as designed EX-CommandStation Item relates to the core EX-CommandStation code
Projects
Status: To Do
Development

No branches or pull requests

1 participant