The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

Inaccurate page

by GreenGlass on Fri Jan 18, 2013 5:21 pm

This page seems to be no longer accurate.

It says variables are signed by default but it seems, due to my tinkering, that arduino uno's variables are actually unsigned by default. I have actually been unable to make the variables signed at all.
Posts: 1
Joined: Fri Jan 18, 2013 5:16 pm

Re: Inaccurate page

by adafruit_support_rick on Fri Jan 18, 2013 5:50 pm

The tutorial is correct. The "unsigned" keyword is necessary to specify an unsigned integer type.

Can you post an example of code where you are having this problem with signed types?
User avatar
Posts: 10724
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY