You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When configure PIN0 as Btn external input with 10k resistor pull-up works fine.
When configure PIN0 as ADC (A0 pin in LN-02 pin description this is ADC2 channel) it always reads 820..840 even if it grounded and actual voltage on PIN0 is 0v.
Describe the bug
When configure PIN0 as Btn external input with 10k resistor pull-up works fine.
When configure PIN0 as ADC (A0 pin in LN-02 pin description this is ADC2 channel) it always reads 820..840 even if it grounded and actual voltage on PIN0 is 0v.
Firmware:
{
"vendor": "Tuya",
"bDetailed": "0",
"name": "Full Device Name Here",
"model": "enter short model name here",
"chip": "LN882H",
"board": "TODO",
"flags": "1026",
"keywords": [
"TODO",
"TODO",
"TODO"
],
"pins": {
"0": "ADC;1",
"1": "Rel;0",
"19": "LED_n;0",
"24": "Btn;0"
},
"command": "",
"image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
"wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
}
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Looks like ADC readings are from wrong pin number instead pin 0
The text was updated successfully, but these errors were encountered: