-
Notifications
You must be signed in to change notification settings - Fork 3
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
Allowing to add configuration files for various modules #4
Comments
Hi, |
Regarding KEYPAD, a simple self calibration cannot be done. You need to initiate it (how?) then you need to display each button to hold to calibrate it (how?) and so on. Then you would need to sort both voltage level (BVx) and button association (ICx) so the voltage level goes from 0 to 1023. EDIT: since it is the LCD_KEYPAD_SHIELD, there is a strong feeling that the original design and the clones always share the same order of buttons and having only their voltages varying so we can have only to sort the voltage levels here. EDIT 2: DONE: Only kept "enabled" and "BVx" in the configuration file with the button in this order : RIGHT, UP, DOWN, LEFT, SELECT. Auto-calibration needs more brainstorming so not a priority here. |
I may consider SELECT (enter dir or play file), LEFT (leave dir) and RIGHT (toggle ultra-fast mode) being not auto-repetitive while I kept UP and DOWN auto-repetitive to avoid unwanted actions. EDIT: DONE for KEYPAD. It is better this way. |
You are right. MUCH MUCH better behaviour of keypress! I have ordered RGB to HDMI converter (ready to hack acording your guidance) as RF output is so blurry. |
Now KEYPAD calibration is also displayed on LCD. The message changes as it was too long. Also the message is updated after each validated keypress. |
Hi,
And ADC just from RIGHT key - 0. |
Ok, let me check. What's not normal is there is no saving of those files. Delete /.config and retry. EDIT: you should not remove the SD then reinsert it when SD-MZ²CMT is powered. I notice It is not safe at all. I have no solution for that. |
Still it does work for me:
But then it goes wrong... EDIT: well, if I press button RESET and retry to press the whole 5 buttons, it works. So I guess I had some glitches (and a potential bug but since RESET can help here... it is not blocking) |
Reformatted SD (works for both FAT32 or exFAT) and copy MZ-700 repository. Insert SD before powering MZ-SD²CMT. I got:
And if I press RESET:
|
Hi, |
While I'm now using Arduino IDE 2.3.2, I plan to add loading/creation of specific files to configure the input/output modules. I started with LCD_KEYPAD_SHIELD input where you may need to change the voltage threshold for each button of the keypad.
The rational is to try to load a configuration file and retrieves the configuration as a simple binary file. If loading is unsuccessful or the file is not present, it is then created with default values.
If you need to tweak the configuration, you need to use an hexadecimal editor to edit it.
The text was updated successfully, but these errors were encountered: