JapanDisplayInc / Mbed 2 deprecated MIP8f_FRDM_CountUpNumber_sample2

Dependencies:   mbed MIP8F_SPI_Ver50

Embed: (wiki syntax)

« Back to documentation index

main.cpp File Reference

main.cpp File Reference

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

Go to the source code of this file.

Functions

void SDtex2BUF (char *filepath)
 read a text file in SD.
void SD2BUF (char *filepath)
 read a bitmap file in SD.
void ReadBmp (const char *fsrc, uint32_t FileNum)
 read a bitmap file in SD by file number.

Detailed Description

Ver6.0 Sample source code for MIP8 diplay.

Ver3.0 Addtional function is font display. this demo code is tha degit 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 ReadBmp ( const char *  fsrc,
uint32_t  FileNum 
)

read a bitmap file in SD by file number.

Definition at line 304 of file main.cpp.

void SD2BUF ( char *  filepath )

read a bitmap file in SD.

8color mode

Definition at line 229 of file main.cpp.

void SDtex2BUF ( char *  filepath )

read a text file in SD.

Definition at line 262 of file main.cpp.