OLED Compass position display

Hi, I am not very experienced in programming graphic displays with the Arduino IDE and I was wondering if anyone knew how the best way to program a 128x32 OLED display to move a predefined graphic array (below) so then it would track the required current position.

Attached is a mock up of what I want to create and I want it to scroll between 0 and 359 degrees.

To do it smoothly, you'll need to do double buffering (you draw the updated screen in one hardware buffer after sending the other buffer to be drawn).
I think the hardware can do it and the Adafruit OLED library supports it, but not sure.

I guess this isn't a very helpful post :slight_smile:

[edit]
It's not the Adafruit library, it's from ThingPulse:

Don't know how well documented it is, but the demo I saw had very smooth movement.

1 Like

Youtube channel upir_upir did a similar project... and he shows where to draw your own graphics (use youtube >> playback >> speed >> 0.5 or "pause" button to follow each step).

That compass display is very well done! A lot of careful work went into the code, which is posted here.

Thank you jremington, that is an excellent lead and a much more user friendly solution than what I had in mind.

Thank you cedarlakeinstruments, I will check out that library. Below, jremington has also sent a link to a great solution which I will go straight to.

Thank you to you both!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.