/**
* \file
*
* \brief Empty user application template
*
*/
/**
* \mainpage User Application template doxygen documentation
*
* \par Empty user application template
*
* Bare minimum empty user application template
*
* \par Content
*
* -# Include the ASF header files (through asf.h)
* -# "Insert system clock initialization code here" comment
* -# Minimal main function that starts with a call to board_init()
* -# "Insert application code here" comment
*
*/
/*
* Include header files for all drivers that have been imported from
* Atmel Software Framework (ASF).
*/
/*
* Support and FAQ: visit Microchip Support
*/
#include
#include "Paint.h"
uint8_t *BlackImage;
void display_splash(void);
int main (void)
{
board_init();
sysclk_init();
gfx_mono_init();
delay_ms(500);
Paint_NewImage(BlackImage, OLED_WIDTH, OLED_HEIGHT, 180, BLACK);
Paint_SelectImage(BlackImage);
Paint_Clear(BLACK);
delay_ms(500);
while (1)
{
Paint_DrawString_EN(10, 20, "hello world", &Font12, WHITE, WHITE);
Paint_DrawNum(10, 35, "1234567", &Font8, 3, WHITE, WHITE);
OLED_Display(BlackImage);
delay_ms(2000);
Paint_Clear(BLACK);
}
}