Skip to content

mborus/pewedit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Pewedit

This is an on device text editor for the PewPew, handed out at Europython 2019.

It removes the need for a PC to set a scrolling text on the Pewpew.

Installation

Copy the file pewedit.py on the device and run it from the laucher.

Keyboard

The Pewpew device has a navigation cross on the left, with the LEFT, RIGHT, UP, DOWN keys. On the right, there is the OK and the X key.

First time run

When you start the Pewedit, the edit window is displayed. On a Pewpew, you may activate the scolling display right away, if you do this, press X, to leave it.

Editor window

Hold down X and press OK to clear the screen.

The first column on the left is the scroll bar and shows a blinking cursor at your current letter position.

Columns 3 to 8 show the entered letters, one letter a line.

You enter the text in the time proven, user friendly format of morse code.

There are two brightness settings.

  • Low brightness shows the "." morse code,
  • High brightness is for the "-" morse code.

You enter "." with the LEFT key and "-" with the right key. If you typed too fast and made a mistake, the X letter acts as a backspace.

If you leave the row by pressing UP or DOWN, your newly typed letter will be shown as a hint. You can change any letter my navigating to it and trying again.

If your text has more that 8 characters and some are not visible, a blinking dot in the top right corner will show you, that there is more text above. A blinking dot at the bottom will show you if you are note seeing text below.

Press OK from the editor to enter the scroll window

Allowed characters are A - Z, 0 - 9

A morse code chart is at https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/International_Morse_Code.svg/473px-International_Morse_Code.svg.png

Scroll window

When you enter this window, the text will scroll once.

If you press X, scrolling will abort and you will return to the editor

If you press OK while scrolling, scrolling with repeat until you leave with the X key.

If you hold down OK while scrolling, text will fast forward.

About

On-device text editor for the Pewpew

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages