Inaccurate page
Moderators: adafruit_support_bill, adafruit

Inaccurate page

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

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.
GreenGlass
 
Posts: 1
Joined: Fri Jan 18, 2013 6:16 pm

Re: Inaccurate page

by adafruit_support_rick on Fri Jan 18, 2013 6: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?

adafruit_support_rick
 
Posts: 12878
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY