Persistent storage for Manga Screen

H

It’s been a while since I worked on the firmware for Manga Screen, but the last couple of days have been spent making a few changes that have been on my list for several months. the most important news: Persistent storage!

First of all, the EEPROM on the Atmega32U4 is now utilized, adding persistent storage across reboots. That means Brightness, debug level and touch panel coordinate system is retained, after it has been set though the Command Line Interface (CLI). Having such a big chip (and expensive @ ~$6) might seem like overkill for such an easy application, but it is super sweet to work with when doing development. No programmer or separate cable is needed, everything happens over USB. And there is room for adding more functionality.

Secondly, the CLI itself has gotten a makeover, and now uses a library for handling code completion and history as well as proper handling of backspace etc. Admittedly, these are minor improvements, but they do make the board a lot nicer to work with. The library is a smaller version of ReadLine called MicroRL by Eugene Samoylov aka Helius.

Thirdly, the debug level is now dynamic, meaning it can be set via the CLI as well. If you want to see the coordinates and how many fingers are found, set the debug level to 10 and you should see the coordinates being output as you press the touch screen.

There are still some problems with buttons not being released in Windows apparently, still have not gotten around to that. It appears is might be related t to the area and pressure being reported by the finger.

If you have a Manga Screen from the Kickstarter, you can download the latest firmware .hex and .eep files and update the firmware. All you need is a Linux computer.

Similar Posts

One Comment

Leave a Reply