Added subscreens to periodic table face; added title and faster scrolling (#1)

* Added subscreens to periodic table face; added title and faster scrolling

* Resized buf for element display

* Fixed scrolling to work on actual hardware

* Added delay before _loop_text at title and bugfix on elements shorter than 6 char

* Title screen displays when le_mode starts

* Added documentation on usage and removed unneeded variable
This commit is contained in:
voloved
2024-07-23 05:35:38 -04:00
committed by GitHub
parent 7eb725a5f6
commit c8702d346e
2 changed files with 388 additions and 240 deletions

View File

@@ -29,9 +29,34 @@
/*
* Periodic Table Face
* Allows for viewing data of the Periodic Table on your wrist.
* When looking at an element, it'll show you the atomic number on the center of the screen,
* symbol on the right, and it's group on the top-right.
* Pressing the mode button will cycle through the pages.
* Page 1: Atomic Mass
* Page 2: Year Discovered
* Page 3: Electronegativity
* Page 4: Full Name of the Element
*
* Controls:
* Mode Press
* On Title: Next Screen
* Else: Cycle through info of an element
* Mode Hold
* On Title: First Screen
* On Element Symbol Screen: Go to Title Screen
* Else: Go to Symbol Screen of current element
* If you are in a subscreen and just keep holding MODE, you will go through all of these menus without needing to depress.
*
* Light Press
* Previous Element
* Light Hold
* Fast Cycle through Previous Elements
*
* Elements can be viewed sequentially with a short press of the alarm button,
* or the atomic number can be input directly after holding down the alarm button.
* Alarm Press
* Next Element
* Alarm Hold
* Fast Cycle through Next Elements
*
*/