esp32-ogn-tracker icon indicating copy to clipboard operation
esp32-ogn-tracker copied to clipboard

Custom OLED page

Open lupus78 opened this issue 4 years ago • 4 comments

Pawel,

What you think about adding a "blank" page to the OLED screen for custom content?

For my flying (I'm a paraglider) I only need a few paramteres, and I'd like to see them quickly. So I've made an extra page with only: altitude, climb rate and speed. You can see my code here: https://github.com/lupus78/esp32-ogn-tracker/tree/pgscreen

I'm thinking to have this as a custom screen, so anyone could put where they want in there. What do you think?

lupus78 avatar Apr 27 '20 11:04 lupus78

I think this is fine, post a picture of such page. Ideally there could be many pages which are being enabled/disabled by for example longer or double press on the button and the configuration could be stored in the parameters. We could for example say we have 32 pages and each can be enabled/disabled and the state can be stored as 32-bit word, each bit saying the page is enabled/disabled.

pjalocha avatar Apr 27 '20 11:04 pjalocha

That's a great idea. Here is my screen:

IMG_0725

lupus78 avatar Apr 27 '20 11:04 lupus78

Add this page, I will add a parameter to configure which pages are to be visible when switching with the push button. Maybe push the altitude to the left and add the direction about the speed ?

pjalocha avatar Apr 27 '20 16:04 pjalocha

Can we make it so that you can set the order of these screens? For example I would put this on the first page, everything else is nice to have but no need while in flight.

Direction of speed, you mean the heading?

lupus78 avatar Apr 27 '20 17:04 lupus78