|
#include "reg52.h"
#include "oled.h"
/*******************************Main*******************************/
void main(void)
{
Initial_M096128x64_ssd1306();
Delay_1ms(5);
while(1)
{
fill_picture(0xff);//全屏显示
Delay_50ms(25);
fill_picture(0xf0);//半屏熄灭;出现一条一条的亮线
Delay_50ms(25);
Picture();//显示一张图片
Delay_50ms(25);
}
}
|
|