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 trialNick Evershed
6,429 PointsWhy 255
Why is the max 255 not something simple like 100?
1 Answer
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsThis is the number that can fit neatly into one byte. There's a good Treehouse course on bits and bytes etc. https://teamtreehouse.com/library/computer-basics and there's a Quora answer on the topic here: https://www.quora.com/How-many-numbers-can-be-represented-in-1-byte.
Nick Evershed
6,429 PointsNick Evershed
6,429 PointsOh Interesting, never thought about it being to do with bytes
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsBrendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsIt shows up all kinds of places. I have a digital volume pedal for my music work and it has values from 0 to 255.