Analog read vs analog sensor

I haven’t seen any topics that address this. What is the difference between “analog read” and “analog sensor”? They look the same from the outside. Are there any major differences?

They are functionally the same. If you open up the analog-sensor node you will find that it is based on analog-read:
Screenshot 2023-04-27 at 16.39.48

I’m not sure why there are two nodes performing the same function, but presumably it is related to backwards compatibility.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.