1
0
Fork 0

Change analogRead calls to analogReadPin (#9023)

* Change analogRead calls to analogReadPin

* Add ChangeLog

* Update docs, remove mention of `analogRead()`

* Retarget changelog for next round
This commit is contained in:
Ryan 2020-07-02 13:12:34 +10:00 committed by James Young
parent 60e5733c48
commit 8a4a0c25fd
5 changed files with 27 additions and 25 deletions

View file

@ -0,0 +1,5 @@
# Deprecation of `analogRead()`
[#9023](https://github.com/qmk/qmk_firmware/pull/9023)
This function takes Arduino pin numbers (eg. `9` vs. `B5`), which is at odds with the rest of the codebase. The replacement for this function is `analogReadPin()`.