Hello
I have a small project that uses an I2c 0.96" OLED screen and an MPU6050 gyro.
The Gryo reports back values and displays them on the screen.
My first build of this project using a Pro-mini works fine.
I just replicated the project, uploaded the code and it runs madly laggy. The graphics are drawing slowly.
I checked all connections.... all good.
Removing the MPU6050 from the I2c bus doesn't change the result.
In my mind, this must be a library thing? The only difference I can think of is this module was programmed from a different IDE to the other working model.
I have swapped out the Pro-mins, and they are the same Mhz etc.
Its using the SSD1306 library. Is there anything you can think of that would make one run slower than the other?
Could it even be the screen? I don't think it is, but I suppose anything is possible.
I am on the phone at the moment, but code can follow... but in theory, the code is identical, so I ma not sure why one runs at a different speed to the other.
Thanks