1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/docs/ChangeLog/20200829/PR9023.md
Ryan 8a4a0c25fd Change analogRead calls to analogReadPin (#9023)
* Change analogRead calls to analogReadPin

* Add ChangeLog

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

* Retarget changelog for next round
2020-08-29 14:30:02 -07:00

6 lines
253 B
Markdown

# 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()`.