We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm having trouble using the buttons on a BLACK_F407VE.
The variant file suggests the following:
// On-board user button #define BTN_K_UP PA0 #define BTN_K0 PE4 #define BTN_K1 PE5 #define USER_BTN BTN_K0
However, K1 appears to trigger via PE3, and K_UP does not trigger on PA0 (haven't isolated this yet).
Is it possible that this is being overridden elsewhere, or is it just plain wrong in the variant file?
Can anyone else confirm this?
The text was updated successfully, but these errors were encountered:
It seems you're right: http://wiki.stm32duino.com/images/5/5c/STM32_F4VE_SCHEMATIC.PDF
This should be:
#define BTN_K1 PE3
Sorry, something went wrong.
Thanks. And BTN_K_UP? Is there some other setup I may be missing for that one?
K_UP is on PA0 but when it press it is pull up to 3.3V. So it is active HIGH. Configure it as INPUT_PULLDOWN.
Thought it may be something like that, thanks.
For information: INPUT_PULLDOWN is already present, my mistake
fa0dcc8
[BLACK_F407] Fix BTN_K1 definition
eb273d4
Fix stm32duino#387 thanks @BennehBoy Signed-off-by: Frederic.Pillon <[email protected]>
fpistm
No branches or pull requests
Hi,
I'm having trouble using the buttons on a BLACK_F407VE.
The variant file suggests the following:
However, K1 appears to trigger via PE3, and K_UP does not trigger on PA0 (haven't isolated this yet).
Is it possible that this is being overridden elsewhere, or is it just plain wrong in the variant file?
Can anyone else confirm this?
The text was updated successfully, but these errors were encountered: