[아두이노] arduino에서 char to int

Skills/Programming 2016. 2. 16. 20:22

arduino를 쓰면서 atoi를 쓰고 있었는데.. 뭔가 형  변환이 잘 안되는 느낌이었다.

그래서 열심히 구글링을 하다보니..

char array 끝에 '\0' 가 있어야 했다..

 

* Ref 

[1] http://forum.arduino.cc/index.php?topic=103511.0

 

 

설정

트랙백

댓글