AVR&ARM
[AVR studio] warning "F_CPU~"
좋은일만가득
2016. 4. 20. 17:46
#warning "F_CPU not defined for <util/delay.h>" [Wcpp]
이때
메뉴에서 Project- Configuration option 에서
avr 클럭을 넣어주면 오류 사라짐.
(16Mhz라서 16000000을 넣어주었음.)