Quote:
Originally Posted by xraymypanda
I think we went with pointers in the functions where we would need to use digital sensors because of problems with the sensor maintaining its state and not refreshing properly. Other than that, I don't think there is any reason that you should not use objects in your code.
|
Can you please explain why pointers make the digital sensors refresh properly?