I presume the accelerometer application is supposed to move the ‘ball’ on the OLED Display in the direction that the board is tipped. That needs a swap of axes and reversal of X in the Arduino code for Acele_show() :
ax = -accelemeter.getAccelerationY();
ay = accelemeter.getAccelerationX();
With this edit, the board as delivered with the Grove modules still attached to the Arduino now moves the ball correctly as the kit is tipped.
Tony
Hi @tony1tf
Are you meaning add an example program of move the ‘ball’ on the OLED Display in the direction that the board is tipped? If you can help write the code, We are glad to add this program to our wiki.
I was not supplying a new program - just editing the source code for the embedded code as supplied with the kit from your wiki to match the ‘tipping’ direction. I assume that it was supposed to do what I said. If you want to put it on the wiki as a new program, then that’s OK with me - it’s only an edit on the two lines as I showed.
Tony