The controlling of the MI0283QT-Adapter v1 and v2 is different and the respective examples and libraries have to be used.
MI0283QT-Adapter v2: Commands, Firmware Update
For an I2C connection of a MI0283QT-Adapter v2 on a mSD-Shield the SDA and SCL jumper on the mSD-Shield bottom side have to be closed/shorted.
Arduino Library with Examples: Download
GraphicsLib
and MI0283QT9
GraphicsLib
and DisplayI2C
or DisplaySPI
or DisplayUART
General Examples for MI0283QT-Adapter v2 or GLCD-Shield: Download
cmd.h
cmd.h
.I2C Example for MI0283QT-Adapter v2 or GLCD-Shield.
Activate I2C:
$ sudo modprobe i2c_bcm2708 baudrate=100000
$ sudo modprobe i2c-dev
Install i2c-tools:
$ sudo apt-get update
$ sudo apt-get install i2c-tools
Test I2C bus:
$ sudo i2cdetect -y 1
The Raspberry Pi hardware revision 1 boards connect I2C bus 0 (GPIO 0 + 1) and revision 2 boards connect I2C bus 1 (GPIO 2 + 3) to the GPIO connector.
Start the test program on the display:
$ sudo i2cset -y 1 0x20 0x02