久久ER99热精品一区二区-久久精品99国产精品日本-久久精品免费一区二区三区-久久综合九色综合欧美狠狠

新聞中心

EEPW首頁 > 嵌入式系統 > 設計應用 > AVR筆記2:定義F_CPU

AVR筆記2:定義F_CPU

作者: 時間:2016-11-27 來源:網絡 收藏
1.warning:#warning"F_CPUnotdefinedfor"

2.warning: "F_CPU" redefined

本文引用地址:http://cqxgywz.com/article/201611/322364.htm

3.c:/winavr-20100110/lib/gcc/../../avr/include/util/delay.h:86:1: warning: this is the location of the previous definition

出現以上三種錯誤的解決辦法是將#define F_CPU 1000000

放在在#include語句之前,如下:

#define F_CPU 1000000
#include
#include



關鍵詞: AVR筆記F_CP

評論


技術專區

關閉