For those who don’t know me, I don’t like cell phones for a variety of reasons… but I do want a pocket computer, so I picked up what is essentially a pocket laptop made of cellphone parts named the OpenPandora.
Like normal-sized laptops, this nifty little device has a bunch of LEDs for indicating whether the WiFi is on, whether the battery is charging, and so on. Unlike many laptops, it was pretty easy to find documentation on how to control them in software.
For any other OpenPandora users who might be interested, here’s a little demo and helper library which makes the left bank of LEDs behave like KITT‘s scanner (without fading) while the charging indicator blinks.
I didn’t demo the partial brightness support on the power and charging LEDs but the helper library supports it.
The module docstring includes a few suggestions for where to go from here if you want to try something a little more challenging.
+1 for less usage of mobile phone..
haven’t change my samsung phone over 2 years as i don’t see the need to keep changing it.. the fanciful screen just drain your battery even more..
By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution under the same terms as the associated post.
All comments are moderated. If your comment is generic enough to apply to any post, it will be assumed to be spam. Borderline comments will have their URL field erased before being approved.
About the Author
I'm Stephan, a Linux user with a passion for open-source, UI/UX design, and exploring what makes fiction work.
In my spare time, I focus on (and write about):
Programming (mainly in Python and Rust)
Retrocomputing (mostly DOS but, as of January 2023, I also own a machine running Mac OS 9.2)
Reading and Reviewing Fiction
The odd bit of UI/UX design or literary theory
For notification of significant updates to existing posts, consider following me on Mastodon.
+1 for less usage of mobile phone..
haven’t change my samsung phone over 2 years as i don’t see the need to keep changing it.. the fanciful screen just drain your battery even more..
btw, thx for introducing OpenPandora..