Stories
Slash Boxes
Comments

SoylentNews is people

posted by Fnord666 on Monday March 04 2019, @01:44AM   Printer-friendly
from the micro-gooey dept.

Microcontrollers are wonderfully useful things, but programming them can be a little daunting if you’re used to the simplicity of compiling for regular PCs. Over time though, this has become easier. Communities have strayed away from assembly code and created higher-level languages such as Micropython, to allow these devices to be programmed in a more accessible manner. Unfortunately, Micropython has historically lacked a decent high-level GUI library. Thankfully, that’s no longer the case, with [amirgon] porting LittlevGL to the platform.

Putting a GUI into a project with a screen seems simple, until one actually gets down to brass tacks. A simple button can consist of a background color, text, and a symbol – and that’s not even considering the use of shading or other visual effects. Having a library to handle the grunt work can massively cut down development time.

[...] There are other approaches to this problem, too – with MyOpenLab being a particularly versatile example.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by janrinok on Tuesday March 05 2019, @08:20AM

    by janrinok (52) Subscriber Badge on Tuesday March 05 2019, @08:20AM (#810178) Journal

    From http://micropython.org/ [micropython.org]

    a native emitter that targets machine code directly rather than the bytecode virtual machine

    However you asked:

    It is a bytecode interpreter is it not ;P

    No. it appears not....

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2