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, @11:03PM

    by Anonymous Coward on Monday March 04 2019, @11:03PM (#810032)

    Never heard of SigFox and I never claimed anything about power consumption which doesn't seem as relevant if you're scripting a UI with python as it would for a datalogger.

    It is possible to run the LoPy4 on lithium batteries for weeks or months without needing recharging.

    Do that on an Arduino nano if you bypass the voltage regulator and you can pick them up for $2 each. Depends on your use case.

    You have read the spec, haven't you?

    Not in depth just skimmed over stuff like Wi-fi and bluetooth. I typically have little use for these on microcontrollers but if I did want something more advanced than a little OLED, I'd employ networking to run the GUI on a phone, tablet or SBC.