【求助】arduino 1.5.2 出现#include <Time.h>执行不了的问题
下了arduino 1.5.2 IDE 加入time库的时候总是失败啊。。time_1st.ino: In function 'void setup()':
time_1st:6: error: 'setTime' was not declared in this scope
time_1st.ino: In function 'void digitalClockDisplay()':
time_1st:16: error: 'hour' was not declared in this scope
time_1st:17: error: 'minute' was not declared in this scope
time_1st:18: error: 'second' was not declared in this scope
time_1st:20: error: 'day' was not declared in this scope
time_1st:22: error: 'month' was not declared in this scope
time_1st:24: error: 'year' was not declared in this sc
有google了,在arduino.cc看到说是要把time.cpp的<WProgram.h> 改成<Arduino.h>。但是我看time.cpp已经解决了这个问题。。
求高人指点。。谢谢! 1.5.2 。。。。 求TIME库。。。 同问,楼主解决了吗?
页:
[1]