Animation demo with MIP8F_SPI_Ver60
Dependencies: mbed MIP8F_SPI_Ver60 MIP8f_FRDM_LineBuffer_sample MIP8f_FRDM_TransferMode_sample
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. | |
void | fish_swim_RightToLeft (int y, int Speed, int no, int transfermode) |
Fish(bmp) swim from Right to Left. | |
void | fish_swim_LeftToRight (int y, int Speed, int no, int transfermode) |
Fish(bmp) swim from Left to Right. | |
void | fish_swim_BottomToTop (int x, int Speed, int no, int transfermode) |
Fish(bmp) swim from bottom to top. | |
void | fish_swim_TopToBottom (int x, int Speed, int no, int transfermode) |
Fish(bmp) swim from top to bottom. | |
void | fish_Surprise_LeftToRight (int y, int Speed, int no, int no2, int transfermode) |
Fish(bmp) swim from Left to Right,but he surprise!! and return. | |
void | ReadMovieBmp (const char *fsrc, uint32_t FileNum) |
read a bitmap,All Animation page file in SD. | |
void | SD2MOVIEBUF (char *filepath, int memnum) |
read a bitmap,Animation page file in SD. |
Detailed Description
Ver6.0 Sample source code for MIP8 diplay.
Ver6.0 Addtional function is Animation sample code. goldfish swin form left to right, from bottom to top. Ver5.0 Addtional function is checking the refresh display speed between 4bit,3bit and 1bit transfer mode 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. x bit is Dummy. 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 fish_Surprise_LeftToRight | ( | int | y, |
int | Speed, | ||
int | no, | ||
int | no2, | ||
int | transfermode | ||
) |
void fish_swim_BottomToTop | ( | int | x, |
int | Speed, | ||
int | No, | ||
int | transfermode | ||
) |
void fish_swim_LeftToRight | ( | int | y, |
int | Speed, | ||
int | No, | ||
int | transfermode | ||
) |
void fish_swim_RightToLeft | ( | int | y, |
int | Speed, | ||
int | No, | ||
int | transfermode | ||
) |
void fish_swim_TopToBottom | ( | int | x, |
int | Speed, | ||
int | No, | ||
int | transfermode | ||
) |
void ReadBmp | ( | const char * | fsrc, |
uint32_t | FileNum | ||
) |
void ReadMovieBmp | ( | const char * | fsrc, |
uint32_t | FileNum | ||
) |
void SD2BUF | ( | char * | filepath ) |
void SD2MOVIEBUF | ( | char * | filepath, |
int | memnum | ||
) |
Generated on Wed Jul 13 2022 14:26:38 by 1.7.2