film + motion frame + oled frame

Hi,
I’d like to output the sensor data from the motion frame to the oled frame.
Can anyone help me with some demo code to do this?
Thanks…

its very simple im using the accelerometer on this sketch and oled frame.

first
connect FILM --> MOTION FRAME --> OLED

use
SeeedOled.putString(“Acc_y=”); this puts a simple txt saying the Y axis
SeeedOled.putNumber(variable); put your varible taken from reading of accelerometer

attached is my script.

#include <Wire.h>
#include <MMA7660FC.h>
#include <SeeedOLED.h>

void setup()
{
    Serial.begin(9600);
    Mma7660fc.init();  //Initialize Mma7660fc
    SeeedOled.init();  //initialze SEEED OLED display
    DDRB|=0x21;        //digital pin 8, LED glow indicates Film properly Connected .
    PORTB |= 0x21;

}

void loop()
{
  
    char Acc_x=0;
    char Acc_y=0;
    char Acc_z=0;
    
    SeeedOled.clearDisplay();          //clear the screen and set start position to top left corner
  SeeedOled.setNormalDisplay();      //Set display to normal mode (i.e non-inverse mode)
  SeeedOled.setPageMode();
    
    Mma7660fc.accelarationRead();  // Read accelaration X, Y and Z
  
    Acc_x = ((char)(Mma7660fc.accelarationData[0]<<2))/4 ;
    SeeedOled.setTextXY(0,0);
    SeeedOled.putString("Acc_x=");
    SeeedOled.putNumber(Acc_x);

    Acc_y = ((char)(Mma7660fc.accelarationData[1]<<2))/4 ;
    SeeedOled.setTextXY(1,0);
    SeeedOled.putString("Acc_y=");
    SeeedOled.putNumber(Acc_y);

    Acc_z = ((char)(Mma7660fc.accelarationData[2]<<2))/4 ;
    SeeedOled.setTextXY(2,0);
    SeeedOled.putString("Acc_z=");
    SeeedOled.putNumber(Acc_z);
    delay(1000);
}

here you go run this code and all the features except save to0 32mb flash are used.

/*
SeeedStudio Motion Frame Demo code.
2010 Copyright (c) Seeed Studio Inc.  All right reserved.
Original Author: Albert.Miao
Contribution: Visweswara R (API redesign, Change to Arduino library format)
   
This demo code is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

For more details about the product please check http://www.seeedstudio.com/depot/
*/
#include <HP03M.h>
#include <Wire.h>
#include <MMA7660FC.h>
#include <SeeedOLED.h>

void setup()
{
    Serial.begin(9600);
    Mma7660fc.init();  //Initialize Mma7660fc
    SeeedOled.init();  //initialze SEEED OLED display
    Hp03m.init();      //Initialize Hp03m 
    DDRB|=0x21;        //digital pin 8, LED glow indicates Film properly Connected .
    PORTB |= 0x21;

}

void loop()
{
  
    char Acc_x=0;
    char Acc_y=0;
    char Acc_z=0;
    
    SeeedOled.clearDisplay();          //clear the screen and set start position to top left corner
  SeeedOled.setNormalDisplay();      //Set display to normal mode (i.e non-inverse mode)
  SeeedOled.setPageMode();
    
    Mma7660fc.accelarationRead();  // Read accelaration X, Y and Z
    Hp03m.read(); 
    Acc_x = ((char)(Mma7660fc.accelarationData[0]<<2))/4 ;
    SeeedOled.setTextXY(0,0);
    SeeedOled.putString("Acc_x=");
    SeeedOled.putNumber(Acc_x);

    Acc_y = ((char)(Mma7660fc.accelarationData[1]<<2))/4 ;
    SeeedOled.setTextXY(1,0);
    SeeedOled.putString("Acc_y=");
    SeeedOled.putNumber(Acc_y);

    Acc_z = ((char)(Mma7660fc.accelarationData[2]<<2))/4 ;
    SeeedOled.setTextXY(2,0);
    SeeedOled.putString("Acc_z=");
    SeeedOled.putNumber(Acc_z);
    
    SeeedOled.setTextXY(3,0);
    SeeedOled.putString("Temperature = ");
    SeeedOled.putNumber(Hp03m.Temperature);
    
    SeeedOled.setTextXY(4,0);
    SeeedOled.putString("Pressure = ");
    SeeedOled.putNumber(Hp03m.Pressure);
    
    SeeedOled.setTextXY(5,0);
    SeeedOled.putString("Altitude = ");
    SeeedOled.putNumber(Hp03m.Altitude);
    
    delay(1000);
}