대학 생활/IoT(RaspberryPi, Arduino)

[Arduino] 에러 : 'BYTE' was not declared in this scope

opid 2015. 2. 24. 15:39

문제점

아래 코드에서 발생하는 에러

  int  value = 1;
  Serial.print(value, BYTE);
'BYTE' was not declared in this scope

해결방안

  int  value = 1;
  Serial.write(value);

참고사이트 링크