-
-
Notifications
You must be signed in to change notification settings - Fork 396
refactor(v12/v14/v16): cleaner 6POS RGB LED implementation #6163
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
base: main
Are you sure you want to change the base?
Conversation
I am thinking the 6pos of v12/v14/v16 should be mapped to function switches instead. I have added an ADC RAW type when I worked out nb4p, in which this ADC type will be kept hidden for other purposes. And specialized driver can make use of this ADC value to trigger function switches press. |
That is a possibility as well. Feel free to improve. |
I still need to gradually understand this application method |
The file 'csd203-sensor.cpp' can also be moved to the 'helloradio' directory ? |
With this, the 6POS leds are working, but the pos is not persistent anymore. If i understood correctly, the analog value is always -100 if no button is pressed which seems to be the reason for the previously used "special logic" :-) Raw Values:
Maybe you know all this, but though to report. |
button value1-6=4096/6=682.66*n |
Yeah, @richardclli told me so. In that case some additional logic might be needed. I’ll discuss it with him. |
No description provided.