#include "stm32c031xx.h"
#include "LCD.h"
#include <stdio.h>
#include<string.h>
/*Tested with ARM Compiler : version 5*/
int main(void) {
//char cust_char0[8] = {0xF,0xB,0xF,0xC,0xF,0xC,0x1E,0xA};
//char cust_char0[8] = {'M', 'A', 'N', 'H', 'A', 'M', 'A', 'S'};/* Pi */
//unsigned char cust_char1[8] = {0x11, 0x19, 0x1D, 0x1F, 0x1F, 0x19, 0x11, 0x00}; /* Diode */
//unsigned char cust_char2[8] = {0x12, 0x14, 0x18, 0x10, 0x18, 0x15, 0x13, 0x17}; /* Transistor */
LCD_Init();
//LCD_data('T');
/* LCD_data('S');
LCD_data('T');
LCD_data('M');
LCD_data('-');
LCD_data('E');
LCD_data('X');
LCD_data('P');
LCD_data('L');
LCD_data('O');
LCD_data('R');
LCD_data('A');
LCD_data('T');
LCD_data('I');
LCD_data('O');
LCD_data('N');
LCD_command(0x05);
LCD_command(0x05);
delayMs(50000);*/
//Custom_Char(0, cust_char0);
//Custom_Char(1, cust_char1);
LCD_command(0x80);
LCD_string("Hello There!" );
LCD_command(0xC0);
LCD_string("General Kenobi!" );
//LCD_data(0);
//LCD_data(1);
}