Program the Proto-Pic EDGE using O O MicroPython - part 1
Good programmers are Lazy. According to Larry Wall (a very famous programmer) laziness is a virtue. Lazy programmers come up with labour-saving solutions. If you’d like to save time for yourself and others by writing MicroPython code that’s easy to re-use, read on. The article assumes that you are already familiar with the concepts of Object, Class and Composition, and that you know how to write a class definition in Python. If you’re not familiar with Object-Orientation (O O) in Python you may find the code hard to follow. I’ve given a very brief introduction to O O later in this article. There are several ways to learn about Python O O. There’s an ‘official’ tutorial here , but I’m not sure a beginner would find it easy to follow. There’s a whole book on the subject from Packt, and it looks good. It represents quite an investment in time and money, but I think it’s worthwhile if you are serious about improving your Python O O skills. I will probably get round...