Search found 2 matches
- Wed Oct 27, 2021 9:17 am
- Forum: General Discussion and Questions
- Topic: How to remember value from sensor when button pressed
- Replies: 4
- Views: 1394
Re: How to remember value from sensor when button pressed
Thank you. I can do "translation" with some small help. it will be a good way to learn micropython and how to use my knowledge of arduino in here... just python is totally different... have to look for everything - like how to remember sensor value... in arduino you just declare variable and use it ...
- Tue Oct 26, 2021 6:42 pm
- Forum: General Discussion and Questions
- Topic: How to remember value from sensor when button pressed
- Replies: 4
- Views: 1394
How to remember value from sensor when button pressed
I'm new to micropython. Trying to translate program I made for arduino into micropython. It's a compass based steering of small boat. I'm stuck. I have BNO055 that showing me heading value. In my original program when a button is pressed then variable 'h' remembers current heading value at the time ...