LCD (4.3inch) Shield sample. While USER_BUTTON0 is pressed, it will save the image to the USB memory.When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE

Dependencies:   GR-PEACH_video GraphicsFramework R_BSP USBHost mbed

Embed: (wiki syntax)

« Back to documentation index

bitmap Class Reference

bitmap Class Reference

A class to communicate a bitmap. More...

#include <bitmap.h>

Public Member Functions

int Rgb888ToBmp (char *file_name, uint8_t *buf, unsigned long pic_width, unsigned long pic_height)
 convert RGB888 to bitmap

Detailed Description

A class to communicate a bitmap.

Definition at line 7 of file bitmap.h.


Member Function Documentation

int Rgb888ToBmp ( char *  file_name,
uint8_t *  buf,
unsigned long  pic_width,
unsigned long  pic_height 
)

convert RGB888 to bitmap

Parameters:
file_namesave file name
bufdata buffer address
pic_widthpicture width
pic_heightpicture height
Returns:
save data size

Definition at line 18 of file bitmap.h.