flote21
Advanced Member level 1
- Joined
- Jan 22, 2014
- Messages
- 411
- Helped
- 1
- Reputation
- 2
- Reaction score
- 3
- Trophy points
- 1,298
- Activity points
- 5,595
Hello people,
I am trying to convert an array of 2 characters into integer 16 bits usign atoi function but when I debug my program with MPLAB the int value is always 0. Is there any problem using this conversion functions?
PD; The compiler is XC8 => PIC18F4520.
Thanks!
I am trying to convert an array of 2 characters into integer 16 bits usign atoi function but when I debug my program with MPLAB the int value is always 0. Is there any problem using this conversion functions?
PD; The compiler is XC8 => PIC18F4520.
Thanks!