Arduino/Arduino Error Messages

The BYTE keyword is no longer supported. Change:

ElectricShock 2014. 12. 7. 15:43

'BYTE'키워드는 더이상 지원되지않습니다.

대신 Serial.write()를 사용하시기 바랍니다.

...이런 Error메세지를 본적이 있을것이다.

http://makezine.com/2011/12/01/arduino-1-0-is-out-heres-what-you-need-to-know/

바꿔라

Serial.print(val, BYTE)

이렇게 ▼

Serial.write(val); //sends as char