// 임베디스 시스템 Chapter 2 : Embedded System 47p 실습(1/1)
// PB > PD, PC > PA 변경
#include "stm32c0xx_hal.h" // Wokwi STM32 환경은 보통 아두이노 코어를 포함합니다.
#include "LIB_TLCD.h"
int main() {
HAL_Init();
TLCD_GPIO_Init();
TLCD_Init();
while(1) {
TLCD_SendCommand(0x01);
TLCD_Goto(0, 0); TLCD_DispString("<Nice Day>You are a good student!");
TLCD_Goto(1, 0); TLCD_DispString("Hello! Our lecture is very Pleasure!");
while(1) {
TLCD_Shift(LEFT);
HAL_Delay(1000);
}
}
}