Replies: 1 comment 1 reply
-
Only issue with this is that you need to have memorized Morse code. On my protogen I have an extra neopixel/rgb led on the inside so that I can change the color if it to match different expressions. Was thinking of extending this to the extra settings menus but I have those hard coded in for now. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While using single button input I've become frustrated with the lengthy process of navigating menus and the semi-random nature of switching expressions. Using a keypad would be a viable alternative but I think I can get similar levels of functionality out of the single button by adding a module to support morse code input and avoid having to lug around and operate a keypad. For example there's a few mappings that makes sense to me:
A - Angry
B - Blush
D - Doubt
F - Frown
H - Happy
M - Menu
O - Suprised
S - Sad
The actual implementation is quite simple for input streams that don't involve same-type only codes. For mixed inputs (dots and dashes) the algorithm is trivial:
For symbols with only dots or dashes, e.g. S (dot dot dot) you'd need to set some threshold for categorisation. Sadly I cannot find a way to make the dynamic duration algorithm work for all inputs, so the overall pseudocode would look something like:
I'm planning on implementing this at some point. Ideas and suggestions are welcome
Beta Was this translation helpful? Give feedback.
All reactions