As it's September I couldn't bring myself to type the C word! 🌲
As it's September I couldn't bring myself to type the C word! 🌲
Your starter code made the process a lot quicker and less taxing for my brain 👏👏
Your starter code made the process a lot quicker and less taxing for my brain 👏👏
Thanks
Thanks
www.youtube.com/watch?v=ARUo...
www.youtube.com/watch?v=ARUo...
Stage 2 - get radio between two Micro:bits working
Stage 3 - get servos working
Stage 4 - Robot!!
I'm going to store all the python code and iterations in my new Githut
github.com/RSG72/MicroB...
Stage 2 - get radio between two Micro:bits working
Stage 3 - get servos working
Stage 4 - Robot!!
I'm going to store all the python code and iterations in my new Githut
github.com/RSG72/MicroB...
Looking at the code, the only bit I'm unsure on is
if __name__ == "__main__":
main()
I can't see a reference to __name__ or __main__ elsewhere in the code at first (or 2nd or 3rd) glance.
Is it a method of a forever loop? Is so why the double underscore?
Looking at the code, the only bit I'm unsure on is
if __name__ == "__main__":
main()
I can't see a reference to __name__ or __main__ elsewhere in the code at first (or 2nd or 3rd) glance.
Is it a method of a forever loop? Is so why the double underscore?