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

Controller enable gpio output. #2

Closed
maxlock opened this issue Dec 12, 2022 · 2 comments
Closed

Controller enable gpio output. #2

maxlock opened this issue Dec 12, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@maxlock
Copy link

maxlock commented Dec 12, 2022

Hi, it would be very useful to control a gpio pin and not just the LED output when the controller is enabled. This will make it very simple for the pico-cs to be used with many H-bridge modules with an enable input as the booster. Without this some DCC locos when attached to DC power (no dcc signal) assume they're in DC mode and start to accelerate.
Again, this is great work! Thanks, Max.

@stfnmllr stfnmllr added the enhancement New feature or request label Dec 12, 2022
@stfnmllr
Copy link
Collaborator

stfnmllr commented Dec 13, 2022

You might test https://github.com/pico-cs/firmware/releases/tag/v0.3.0. With this version GP22 reflects the 'enabled status'.

@maxlock
Copy link
Author

maxlock commented Dec 14, 2022

That's working nicely, thanks!

@maxlock maxlock closed this as completed Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants