LCD屏幕
简介
屏幕的分辨率是:800480,即屏幕是由800480个像素点组成的。
像素点:可以组成颜色的点!
每个像素点占32bit,由A R G B组成,各占8各bit
像素点
A(透明度)
R(red)
G(green)
B(blue)
color
00
ff
00
00
unsigned int color = 0x00ff0000;
这种模式使得我们可以把颜色数量化 。
操作:打开屏幕
屏幕的路径:“/dev/fb0”
int lcd_fd;
LD is tigger forever,CG are not brothers forever, throw the pot and shine. Modesty is not false, solid is not naive, treacherous but not deceitful, stay with good people, and stay away from poor people. talk is cheap, show others the code,Keep