Go Down

Topic: Noob Question Bytes and Unsigned Chars (Read 643 times) previous topic - next topic

Clever_Glove

Aug 22, 2009, 06:33 am Last Edit: Aug 22, 2009, 06:36 am by dcrackel Reason: 1
What is the difference between a Byte and a unsigned Char?

Fjornir

By and large no difference. Some subtleties may arise if you are doing object oriented stuff and calling a method on an object which has overloads for both but... Beyond that nothing comes to mind.

rFree

#2
Aug 23, 2009, 10:02 am Last Edit: Aug 23, 2009, 10:03 am by rFree Reason: 1
InĀ ./hardware/cores/arduino/wiring.h:
typedef uint8_t byte;

Personally I prefer to just use uint8_t.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy