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: 0) by Anonymous Coward on Monday March 04 2019, @01:52PM (2 children)

    by Anonymous Coward on Monday March 04 2019, @01:52PM (#809768)

    Python is the new Perl.

  • (Score: 0) by Anonymous Coward on Monday March 04 2019, @05:24PM (1 child)

    by Anonymous Coward on Monday March 04 2019, @05:24PM (#809869)

    Python is the new Perl.

    Not until the language looks like output from a glitching comms port it isn't!

    • (Score: 2) by The Mighty Buzzard on Tuesday March 05 2019, @02:29AM

      I know, right? It's so easy to program in as long as you know the million and one entirely arbitrary rules and follow them to the letter. Sure it takes ten times as many lines of code but it's totally worth it. What kind of weirdo would want a language that gives him free time because he's finished a project? He might actually have to go outside if that happened.

      --
      My rights don't end where your fear begins.