Hi I'm definitely a newbie at uPython so as a C programmer from way back I've always found concrete examples to be immensely valuable for figuring out how coding works. I find the quick guide great but for me some of the more subtle essence of the language might be easier to grasp if more simple examples were available. I understand upython is a work in progress and I salute those who are breaking new ground. More specifically I need to deal with bitfields and the section on them still remains cloudy for me. As a retired programmer I WILL eventually prevail in understanding of how to extract or set any bit with a given byte. No specific requests but more examples, more examples for us newbies that still don't have their heads quite into how Python structures, coding and syntax works.
Thanks Denis
Example, examples..never get enough
-
- Posts: 847
- Joined: Mon Nov 20, 2017 10:18 am
Re: Example, examples..never get enough
Micro-Python is designed to be as compatible with main stream Python as possible so looking at main stream python examples will generally teach you as well as pacific MP examples.
Re: Example, examples..never get enough
I have a bunch of examples that I've posted in the forums. You can find them here: https://github.com/dhylands/upy-examples
Re: Example, examples..never get enough
I definitely know what you mean!
Seeing how other people do things is so helpful when you are getting started.
In that regard you should definitely search github.com for projects based on MicroPython.
I've been at it a while but came in knowing nothing about Python in general. I will offer my humble dabblings with the ESP8266 located here...
https://github.com/joewez/MicroPythonEDC
It's a mess of random stuff, but you may pick up some ideas.
Have fun!
Seeing how other people do things is so helpful when you are getting started.
In that regard you should definitely search github.com for projects based on MicroPython.
I've been at it a while but came in knowing nothing about Python in general. I will offer my humble dabblings with the ESP8266 located here...
https://github.com/joewez/MicroPythonEDC
It's a mess of random stuff, but you may pick up some ideas.
Have fun!