-
Notifications
You must be signed in to change notification settings - Fork 35
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
Use the buttons #11
Comments
Please take a look at screenshots from oscilloscope of pressing those two strange connected buttons (OK and UP). |
Hi Baruch and others I like to share the way the buttons work, remained a secret for 2 years now. Howto: If no primary key is pressed, seconday keys can be scanned (up and ok buttons). Scan button 4 (ok): Scan button 3 (up) I had worries on triggering the SWIM logic on pd1, but until now i did not show any reactions. When scanning secondary keys the first line returned to pull-up needs quite some recovery time. About 10 NOP’s makes it ready for next button scan. Wrote some test code and was able to read set,down,up and ok key reliable. Currently called from main event loop as demo, maybe better call it from a timer with handler. While make the implementation i had to remove random serial stuff else it didn’t flash as firmware was too big. I can provide working demo code and scope images of key presses. Regards, Arjan |
@iafilius thanks! I haven't worked on the b3603 for a while, I'll try to see if I can integrate it into the firmware. It was a pain to use the device without the buttons. As for the firmware size, there is another fork of this project that worked on reducing the size, I'll probably try to integrate that as well to reduce the size. |
Hi, uploaded the tested code , easy to integrate in main event loop (or called from timer) |
Find how to make use of the buttons and integrate them into a UI that doesn't necessarily depend on the serial port.
The text was updated successfully, but these errors were encountered: