rk3399_arm_lvds/small_lcd/app_spi_lcd/main.cpp

36 lines
702 B
C++
Raw Normal View History

2024-03-05 03:46:18 +00:00
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <time.h>
#include <unistd.h>
#include "DevUtil.h"
#include "filetools.h"
#include "Gpio.h"
#include "Lcd.h"
int main(int argc, char **argv)
{
Lcd Small_lcd;
Small_lcd.Small_Lcd_Initial_Lcd();
while(1)
{
//Small_lcd.Lcd_Clear_screen();
Small_lcd.display_Selective(4);
//sleep(2);
//Small_lcd.Lcd_Clear_screen();
Small_lcd.display_Selective(1);
//sleep(2);
//Small_lcd.Lcd_Clear_screen();
Small_lcd.display_Selective(2);
//sleep(2);
//Small_lcd.Lcd_Clear_screen();
Small_lcd.display_Selective(3);
//sleep(2);
//Small_lcd.Lcd_Clear_screen();
Small_lcd.display_Selective(1);
//sleep(2);
}
return 0;
}