Inaccurate page

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

Moderators: adafruit_support_bill, adafruit

Inaccurate page

Postby GreenGlass » Fri Jan 18, 2013 5: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 5:16 pm

Re: Inaccurate page

Postby adafruit_support_rick » 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
adafruit_support_rick
 
Posts: 3140
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY


Return to Arduino

Who is online

Users browsing this forum: ArekKindAcere and 10 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
Android[6]
 
BeagleBone[23]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]