I have solved my problem see viewtopic.php?t=389524 many thanks for your help
Thank you for your explanations; this is very helpful.
I'm new to Python and MicroPython. I've been programming microcontrollers for 30 years in Basic Bascom. In Basic, a global var is truly a global; it will be included in all functions. Furthermore, in Basic, variables are typed.
Boolean variables are bit-type (1 or 0), or true or false.
And that's what's difficult for me with Python: not having to declare variables.
Gustave
Thank you for your explanations; this is very helpful.
I'm new to Python and MicroPython. I've been programming microcontrollers for 30 years in Basic Bascom. In Basic, a global var is truly a global; it will be included in all functions. Furthermore, in Basic, variables are typed.
Boolean variables are bit-type (1 or 0), or true or false.
And that's what's difficult for me with Python: not having to declare variables.
Gustave
Statistics: Posted by gustave — Mon Jul 07, 2025 9:52 am