-
Notifications
You must be signed in to change notification settings - Fork 12
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
Cannot Set The Toggle Press Time plus Diode Question #30
Comments
Hi!
You need them if you suppose some of your buttons can be pressed simultaneously. You will get ghost pressing without diodes
If you look closer you will see that both diagrams have cathode to the row pin and anode to the column pin
Wiki is a bit outdated. This settings now available as "Press timer" on Buttons tab. It works now not only for toggle switches but also for other button types |
Thanks for the explanations. I will be using quite a few toggle switches that could have two or more latched on at the same time so diodes will be needed. Thank you for your work on this project. |
Another question. If I want a logical button to be pressed for as long as I hold the physical button down, how do I do that ? thanks. |
You do "button_nornal" and no timers applied |
Ok thanks again
… On 23 Jan 2021, at 01:18, Yury Vostrenkov ***@***.***> wrote:
You do "button_nornal" and no timers applied
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
More information can be found here |
HI,
It is supposed that some people may use freejoy to replace controller on their device. So if you already have your wiring done with external pull-up or pull-down you may choose right option
If I am making my own button box with switches, which is the right choice, VCC or GND or doesn’t it matter ?
Thankyou.
… On 24 Jan 2021, at 16:44 , Yury Vostrenkov ***@***.***> wrote:
It is supposed that some people may use freejoy to replace controller on their device. So if you already have your wiring done with external pull-up or pull-down you may choose right option
Yes, there are several ways to do this:
just connect 4 button pins with common gnd/vcc
make a hardware mode to connect it to analog input and use axis2buttons function
More information can be found here <https://forums.eagle.ru/topic/190451-rotary-switch-amp-arduino-help-needed>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE3DAPUT4FGN6VD5XNY2RALS3O6U7ANCNFSM4WOGSMSQ>.
|
I'd recommend to wire buttons with common GND |
Thankyou
… On 24 Jan 2021, at 17:14 , Yury Vostrenkov ***@***.***> wrote:
I'd recommend to wire buttons with common GND
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE3DAPXTSKCDDWZ3IM6MJALS3PCHDANCNFSM4WOGSMSQ>.
|
Hi,
Is it possible to upload and run a normal Arduino sketch onto the STM 32 after flashing with your firmware and using the configurator ?
Thanks
… On 24 Jan 2021, at 17:15, Yury Vostrenkov ***@***.***> wrote:
I'd recommend to wire buttons with common GND
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi, it is possible. |
Ok but confirm it will not erase the Freejoy configuration?
… On 25 Jan 2021, at 16:23, Yury Vostrenkov ***@***.***> wrote:
Hi, it is possible.
You just need to flash arduino bootloader to stm32
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
It will for sure |
So you’re saying I can’t do both ? It’s either Freejoy OR Arduino boot loader but not both ?
… On 25 Jan 2021, at 16:56, Yury Vostrenkov ***@***.***> wrote:
It will for sure
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I don't know how exactly arduino bootloader works and where it placed in device memory. But freejoy also have its own bootloader in stm32's flash and I'm sure it will be overwritten by arduino bootloader or arduino sketch |
Ok thanks for clarifying |
Hi,
First a question on wiring. Do I really need to use diodes in my wiring for a button matrix as shown in the FreeJoy Wiki here: https://github.com/FreeJoy-Team/FreeJoyWiki/blob/master/eng/Connecting-buttons-directly-to-controller.md
Also, why are the diode directions different in the button matrix for only buttons, but are in the reverse direction when you include an encoder as shown here: https://github.com/FreeJoy-Team/FreeJoyWiki/blob/master/eng/Encoders-connection.md
You say in the FreeJoy Wiki here:
https://github.com/FreeJoy-Team/FreeJoyWiki/blob/master/eng/Buttons-configuration.md
"...(the time while the logical button remains pressed is set in the Toggle Press Time field of the Advanced Settings section)..."
But in the Advanced settings section there is no way to set the Toggle Press Time.
I am using version 1.6.2b3
Thanks.
The text was updated successfully, but these errors were encountered: