Sep-02-2020, 08:47 PM
I wanted to check Yoriz' suggestion as having helped me a lot. I wasn't using classes, so that's a step in the right direction. However, there's no button on this site to select the suggestion that helps (unlike in other forum sites, e.g., Microsoft Developers Network).
I added a reputation point to Yoriz, just to show my gratitude.
I haven't fully solved this yet. It's not posting the value to the label but funny, when I add a messagebox just to see if there's a value read from the sensor, the value is then posted to the label when I click the "OK" button on the messagebox. Obviously, I still need to work on this.
But I followed Yoriz's advise to create classes to make it easier and I'm getting there.
Thanks.
I added a reputation point to Yoriz, just to show my gratitude.
I haven't fully solved this yet. It's not posting the value to the label but funny, when I add a messagebox just to see if there's a value read from the sensor, the value is then posted to the label when I click the "OK" button on the messagebox. Obviously, I still need to work on this.
But I followed Yoriz's advise to create classes to make it easier and I'm getting there.
Thanks.