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/SDCRC.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 | /* SD/MMC File System Library |
JDI_Mbed_Team | 0:33fe30a2b785 | 2 | * Copyright (c) 2016 Neil Thiessen |
JDI_Mbed_Team | 0:33fe30a2b785 | 3 | * |
JDI_Mbed_Team | 0:33fe30a2b785 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
JDI_Mbed_Team | 0:33fe30a2b785 | 5 | * you may not use this file except in compliance with the License. |
JDI_Mbed_Team | 0:33fe30a2b785 | 6 | * You may obtain a copy of the License at |
JDI_Mbed_Team | 0:33fe30a2b785 | 7 | * |
JDI_Mbed_Team | 0:33fe30a2b785 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
JDI_Mbed_Team | 0:33fe30a2b785 | 9 | * |
JDI_Mbed_Team | 0:33fe30a2b785 | 10 | * Unless required by applicable law or agreed to in writing, software |
JDI_Mbed_Team | 0:33fe30a2b785 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
JDI_Mbed_Team | 0:33fe30a2b785 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
JDI_Mbed_Team | 0:33fe30a2b785 | 13 | * See the License for the specific language governing permissions and |
JDI_Mbed_Team | 0:33fe30a2b785 | 14 | * limitations under the License. |
JDI_Mbed_Team | 0:33fe30a2b785 | 15 | */ |
JDI_Mbed_Team | 0:33fe30a2b785 | 16 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 17 | #ifndef SD_CRC_H |
JDI_Mbed_Team | 0:33fe30a2b785 | 18 | #define SD_CRC_H |
JDI_Mbed_Team | 0:33fe30a2b785 | 19 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 20 | #include "mbed.h" |
JDI_Mbed_Team | 0:33fe30a2b785 | 21 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 22 | namespace SDCRC |
JDI_Mbed_Team | 0:33fe30a2b785 | 23 | { |
JDI_Mbed_Team | 0:33fe30a2b785 | 24 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 25 | char crc7(const char* data, int length); |
JDI_Mbed_Team | 0:33fe30a2b785 | 26 | unsigned short crc16(const char* data, int length); |
JDI_Mbed_Team | 0:33fe30a2b785 | 27 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 28 | } |
JDI_Mbed_Team | 0:33fe30a2b785 | 29 | |
JDI_Mbed_Team | 0:33fe30a2b785 | 30 | #endif |