Line buffer mode. sammple code with MIP8F_SPI_Ver40
Dependencies: MIP8F_SPI_Ver40 mbed
Dependents: MIP8f_FRDM_TransferMode_sample MIP8f_FRDM_Animation_sample
Introduction
Line buffer mode sample with MIP8F_SPI_Ver40 Display some color and monochrome bitmap.
Other information , please refer to https://os.mbed.com/teams/JapanDisplayInc/code/MIP8f_FRDM_sample/
Usage
Copy Setting File and Image to micro SD-CARD. (Same setting File and bitmap of MIP8f_FRDM_sample.)
a) Download the following file corresponding to the target panel, and rename file identifier (.bin -> .zip), and unzip the file on micro SD Card's root directory.
- LPM013M126x (176x176) :/media/uploads/JDI_Mbed_Team/sdcard_176x176.bin
- LPM027M128x (400x240) :/media/uploads/JDI_Mbed_Team/sdcard_400x240.bin
- LPM044M141x (640x480): /media/uploads/JDI_Mbed_Team/sdcard_640x480.bin
b) Insert micro SD-CARD to FRDM-K64F. c) Upload binary file to FRDM-K64F.and push Reset Button.
Other information
refer to Usage on https://os.mbed.com/teams/JapanDisplayInc/code/MIP8f_FRDM_sample/
this Sample Code (.bin)
/media/uploads/JDI_Mbed_Team/mip8f_frdm_linebuffer_sample.k64f.bin
SDFileSystem/FATFileSystem/ChaN/integer.h@0:33fe30a2b785, 2018-09-04 (annotated)
- Committer:
- JDI_Mbed_Team
- Date:
- Tue Sep 04 06:44:01 2018 +0000
- Revision:
- 0:33fe30a2b785
JDI_MIP8F sample
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JDI_Mbed_Team | 0:33fe30a2b785 | 1 | /*-------------------------------------------*/ |
JDI_Mbed_Team | 0:33fe30a2b785 | 2 | /* Integer type definitions for FatFs module */ |
JDI_Mbed_Team | 0:33fe30a2b785 | 3 | /*-------------------------------------------*/ |
JDI_Mbed_Team | 0:33fe30a2b785 | 4 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 5 | #ifndef _FF_INTEGER |
JDI_Mbed_Team | 0:33fe30a2b785 | 6 | #define _FF_INTEGER |
JDI_Mbed_Team | 0:33fe30a2b785 | 7 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 8 | #ifdef _WIN32 /* Development platform */ |
JDI_Mbed_Team | 0:33fe30a2b785 | 9 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 10 | #include <windows.h> |
JDI_Mbed_Team | 0:33fe30a2b785 | 11 | #include <tchar.h> |
JDI_Mbed_Team | 0:33fe30a2b785 | 12 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 13 | #else /* Embedded platform */ |
JDI_Mbed_Team | 0:33fe30a2b785 | 14 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 15 | /* This type MUST be 8-bit */ |
JDI_Mbed_Team | 0:33fe30a2b785 | 16 | typedef unsigned char BYTE; |
JDI_Mbed_Team | 0:33fe30a2b785 | 17 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 18 | /* These types MUST be 16-bit */ |
JDI_Mbed_Team | 0:33fe30a2b785 | 19 | typedef short SHORT; |
JDI_Mbed_Team | 0:33fe30a2b785 | 20 | typedef unsigned short WORD; |
JDI_Mbed_Team | 0:33fe30a2b785 | 21 | typedef unsigned short WCHAR; |
JDI_Mbed_Team | 0:33fe30a2b785 | 22 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 23 | /* These types MUST be 16-bit or 32-bit */ |
JDI_Mbed_Team | 0:33fe30a2b785 | 24 | typedef int INT; |
JDI_Mbed_Team | 0:33fe30a2b785 | 25 | typedef unsigned int UINT; |
JDI_Mbed_Team | 0:33fe30a2b785 | 26 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 27 | /* These types MUST be 32-bit */ |
JDI_Mbed_Team | 0:33fe30a2b785 | 28 | typedef long LONG; |
JDI_Mbed_Team | 0:33fe30a2b785 | 29 | typedef unsigned long DWORD; |
JDI_Mbed_Team | 0:33fe30a2b785 | 30 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 31 | #endif |
JDI_Mbed_Team | 0:33fe30a2b785 | 32 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 33 | #endif |