ScratchData LogoScratchData
Back to Amol_Scratches's profile

Dec,Bin,Oct,Hex converter - Template remix

AMAmol_Scratches•Created August 18, 2016
Dec,Bin,Oct,Hex converter - Template remix
0
0
2 views
View on Scratch

Instructions

This is a template that can be used to create a program that converts between decimal, binary, octal, and hexadecimal. Add scripts such that: 1) when you click a binary digit, a 0 changes to 1, or a 1 changes to 0, and then the decimal, octal, and hex displays all update with new values 2) when you click an octal digit, it goes up by 1. If it is on the highest digit, then go back to 0. The left most digit should only go up to 3. After the digit changes, update the displays for decimal, binary, and hex. 3) when you click a hex digit, it goes up by 1. If it is on the highest digit, then go back to 0. After the digit changes, update the displays for decimal, binary, and octal 4) click on the + or - button next to the Decimal Value display to make it go up or down. After the decimal value changes, update the displays for binary, octal, and hex. The decimal value has to stay between 0 and 255, inclusive. So, if on 255 and + is clicked, go to 0. If on 0, and - is clicked, go to 255.

Description

Credits to oconnorjb to get the base outline

Project Details

Project ID118594168
CreatedAugust 18, 2016
Last ModifiedSeptember 6, 2016
SharedAugust 24, 2016
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root