목록2025/03/06 (1)
printf("ho_tari\n");

2025.03.06 오늘의 학습 목표1. 1 button 처리2. 생태천이 (FSM)3. switch~case를 함수 포인터로4. FND 제어5. Timer INTERRUPT processor : CPUprocess : 현재 돌고 있는 program을 의미 1 BUTTON LED 제어 (switch~case 사용)#define F_CPU 16000000UL // 16MHZ Unsigned Long#include #include // _delay_ms, _delay_us 헤더파일#include "button.h"extern int led_main(void); // 함수가 다른 파일에 들어있으면 extern으로 선언extern void init_button(void); // 함수가 다른 파일에 들어있으면 ..
(Telechips) AI 시스템 반도체 SW 개발자 교육/ATmega128A 마이크로컨트롤러 프로그래밍
2025. 3. 6. 16:58