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.
Inaccurate page
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Inaccurate page
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?
Can you post an example of code where you are having this problem with signed types?
Please be positive and constructive with your questions and comments.