请问各位,为什么我的arduino只要遇到Serial.print(data,BYTE);这个就不行
我在arduino编程过程中,只要遇到Serial.print(data,BYTE);就出现如下提示sketch_jun19a.cpp: In function 'void loop()':
sketch_jun19a:13: error: 'BYTE' was not declared in this scope
As of Arduino 1.0, the 'BYTE' keyword is no longer supported.
Please use Serial.write() instead.
请问如何解决? 大小写问题 可以参考这个帖子
http://www.geek-workshop.com/forum.php?mod=viewthread&tid=683 非常感谢! 我还在用2012年出版的书。。。。
页:
[1]