Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKeith White
Courses Plus Student 362 Pointswho knows a easier way to understand binary?
need help with binary
3 Answers
Codin - Codesmite
8,600 PointsImagine Binary as an on off switch for a light bulb.
0 = OFF
1 = ON
So if we were to send the 8bit binary 10110000 to the light bulb switch it would go ON OFF ON ON OFF OFF OFF OFF.
So for example in your PC when binary code is sent to your hardware it is recieving an electrical current turning on and off different parts of the hardware.
Binary numbers are quite easy to remember as:
128 - 64 - 32 - 16 - 8 - 4 - 2 - 1
So for example 10110010:
128 - 64 - 32 - 16 - 8 - 4 - 2 - 1 1 - 0 - 1 - 1 - 0 - 0 - 1 - 0
10110010 = 128 + 32 + 16 + 2 = 178
anthony compres
2,259 Pointssuperrr now i get it. thank so much
Eriberto Larios
82 Pointssame here. Thank you so much.
Erika Young
95 PointsThe 'Dummies' series has helpful info, too:
Digital Electronics: Binary Basics http://www.dummies.com/programming/electronics/digital-electronics-binary-basics/
Alexandrino Nunes
Courses Plus Student 10,985 PointsAlexandrino Nunes
Courses Plus Student 10,985 PointsHi guys. Can't we upload a photo or print screen?
It would be great in certain cases like this one here.
CHEN HAOMING
5,376 PointsCHEN HAOMING
5,376 PointsHelpful. very easy to understood. thx bro