Inaccurate page

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
GreenGlass
 
Posts: 5
Joined: Fri Jan 18, 2013 6:16 pm

Inaccurate page

Post by GreenGlass »

This page seems to be no longer accurate.
http://www.ladyada.net/learn/arduino/lesson4.html

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.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Inaccurate page

Post by adafruit_support_rick »

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?

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”