GY-91 and 2.42" OLED output

I'm trying to put together a demonstration of the GY-91 with the output displayed on a 2.42 OLED. The solution will sit on the UNO R3.
The display only needs to show the X, Y and Z axis with each identified as such.
I have examples where the output is sent to the serial port, however for my purposes, the output needs to be standalone, handheld and shown on the OLED.
Does anyone have a worked code example that I might be able to use?

When displaying changing alphanumeric text on the OLED you will find the current text being written to the screen does not erase the previous text, creating alphanumeric heaps. Clearing the display before re-writing to the screen solves the pixel blob issue, but is slow and creates an unwanted flicker. I have found that keeping track of old data printed in the foreground color (white, for example), and if the data change, over-write the old data using the background color (black, for example) before writing the new data in white.

A search for GY-91 yields a calibration sketch in the first few hits.

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