Skip to content
Snippets Groups Projects
Commit 214b401d authored by 郝弘毅's avatar 郝弘毅
Browse files

ADC分辨率从10位改为12位

parent b46cc08a
No related branches found
Tags 0.0.9
No related merge requests found
......@@ -140,7 +140,7 @@ int analogRead(uint8_t pin)
return pVal >> 2;
#elif defined(__LGT8FX8P__)
pVal -= (pVal >> 7);
return pVal >> 2;
return pVal;
#else
// standard device from atmel
return pVal;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment