Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Add support for a power button #11

Open
anujdeshpande opened this issue Nov 24, 2020 · 5 comments
Open

Add support for a power button #11

anujdeshpande opened this issue Nov 24, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@anujdeshpande
Copy link

This would send a safe shutdown command to our supervisor API, and it would also have the ability to use the button to turn on the power rails that the coproc controls

@anujdeshpande
Copy link
Author

hey @Bucknalla @phil-d-wilson
We discussed adding this feature here in yesterday's product call. There's some more stuff that we could be doing around this in some of our other products, but adding this is a good start.
I am not sure if you guys have plans for adding support for buttons, or similar. I'd love to help in any way I can.
cc @chrisys

@Bucknalla
Copy link
Contributor

@anujdeshpande we basically already do a somewhat graceful shutdown of the supervisor when we flash the device - I have an idea how to extend this to firmata as we already support digital IO so it shouldn't be awfully hard to do this.

@Bucknalla Bucknalla added the enhancement New feature or request label Nov 25, 2020
@Bucknalla Bucknalla added this to To do in Progress Board Nov 25, 2020
@anujdeshpande
Copy link
Author

hey @Bucknalla - We don't use FreeRTOS/CMSIS on the firmata flash right? I saw this folder and was slightly thrown off because I didn't see anything RTOS-y in the source folder.

Reason why I ask is I was thinking of using this component from IDF - https://github.com/espressif/esp-rainmaker/tree/master/components/button
It does some nice things like like timer events so that we can have short press, long press, etc easily.

@Bucknalla
Copy link
Contributor

@anujdeshpande no we don't use an RTOS

@jellyfish-bot
Copy link

[anujdeshpande] This issue has attached support thread https://jel.ly.fish/26492314-c6b3-434d-9b51-dadcfb61e4ac

@Bucknalla Bucknalla moved this from To do to To do - firmata related in Progress Board Aug 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Progress Board
To do - firmata related
Development

No branches or pull requests

3 participants