Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 9 months ago.
Datatypes
Hi, I'm trying to convert a program from Arduino to mbed and found the datatype "Byte" doesn't exist in mbed syntax. What do I use instead ? Do I use char instead ? Best regards
2 Answers
10 years, 9 months ago.
Hi Khaled the mbed use ansi c types, the char type uses 1 byte in memory, so yes i believe you can use a char to represent a byte and a char array to represent an array of bytes.
Greetings