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