pjalocha / esp32-ogn-tracker

OGN Tracker implementation on ESP32 devices
56 stars 27 forks source link

Custom OLED page #16

Open lupus78 opened 4 years ago

lupus78 commented 4 years ago

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?

pjalocha commented 4 years ago

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.

lupus78 commented 4 years ago

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

IMG_0725

pjalocha commented 4 years ago

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 ?

lupus78 commented 4 years ago

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?