JapanDisplayInc / Mbed 2 deprecated MIP8f_FRDM_LineBuffer_sample

Dependencies:   MIP8F_SPI_Ver40 mbed

Dependents:   MIP8f_FRDM_TransferMode_sample MIP8f_FRDM_Animation_sample

Embed: (wiki syntax)

« Back to documentation index

main.cpp File Reference

main.cpp File Reference

Ver4.0 Sample source code for MIP8 diplay. More...

Go to the source code of this file.

Functions

void SD2BUF (char *filepath)
 read a bitmap file in SD.
void SDtex2BUF (char *filepath)
 read a text file in SD.
void SD2LINEBUF (char *filepath, int transfermode)
 read a bitmap file in SD.

Detailed Description

Ver4.0 Sample source code for MIP8 diplay.

Ver4.0 Addtional function is Line buffer version.the Sample bitmap display color and monochrome by line buffer. Ver3.0 Addtional function is font display. this demo code is the nunber is counted up like a meter panel ver2.0 Addtional function is Monochome display by 1bit mode of SPI transfer.

spi-transfer to Display has 3 mode. 4bit mode is color display, this bit arrange is R,G,B,x. R,G,B = R,G,B subpixel bit. a x bit is Dummy. No ues(3bit mode is color display, this bit arrange is R,G,B. R,G,B = R,G,B subpixel bit. No bit is Dummy.) 1bit mode is monocrome display,high speed refresh mode. a only Green subpixel of bitmap data is transfered. <License> Copyright 2018 Japan Display Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file main.cpp.


Function Documentation

void SD2BUF ( char *  filepath )

read a bitmap file in SD.

8color mode

Definition at line 249 of file main.cpp.

void SD2LINEBUF ( char *  filepath,
int  transfermode 
)

read a bitmap file in SD.

8color mode

Definition at line 330 of file main.cpp.

void SDtex2BUF ( char *  filepath )

read a text file in SD.

Definition at line 281 of file main.cpp.