Hi Everyone,
I have been using arduino for a few years and have decided to learn python. I have made some simple scripts but am having trouble wrapping my mind around how python actually works through the scripts.
For example, in arduino you generally have a setup loop that arduino will go through only once. You will then have a void loop that will then be run repeatedly from top to bottom as the code is written.
I can't seem to find a good explanation for this on python. All I can seem to find is information on "for loops" which isn't what I think I need.
The main reason I am stuck on this is that I have some arduino code I want to convert to python and run on my raspberry pi, but I can't seem to figure out a way to re-create the void loop in python.
Thanks for any help!
