Asked by:
JUNE Challenge  suggestion  Binary ADD calculator
General discussion

Here is another suggestion , for June Challenge of the Month.
Last month, we build a binary clock, and a binary decimal converter.
To go further, i would suggest a kind of a program with 3 rows of binary LED display.
the top: the number in input
the middle: the number to Add.
the bottton: the results in binary
here is a link to start: Addition And Subtraction of Binary Numbers
 Changed type litdev Saturday, June 4, 2016 5:09 PM
Monday, May 30, 2016 4:09 PMAnswerer
All replies

Here is my Binary Add Calculator for June Challenge
program no: PTC516
Sunday, June 5, 2016 11:14 PMAnswerer 
Nice representation of the LEDArrays !
With a little improvement in the sub led_display(), you can repeat the input by other numbers.
Sub led_display f=0 r=0 For N = 1 To 3 For binary = 1 To 8 If x[binary][N] = 1 then If N=3 then GraphicsWindow.DrawresizedImage(orangeLEDon,50+f,100+r,50,50) else GraphicsWindow.DrawresizedImage(greenLEDon,50+f,100+r,50,50) EndIf Else GraphicsWindow.DrawresizedImage(LEDoff,50+f,100+r,50,50) EndIf f=f+60 EndFor f=0 r=r+100 EndFor EndSub
Extended Challenge for better understanding of a digital computer:
Calculation bit for bit with carrybit like a real logical binary adder and sound from relays.
Monday, June 6, 2016 10:10 AM 
Cool ! thanks !!Tuesday, June 7, 2016 10:14 PMAnswerer

Saturday, June 11, 2016 3:57 PM

This is my advanced version of the Add Binary Machine, what's new in this version:
went up to 8 to 16 LED machine
red LED, computer music simulation while computing the BINDEC numbers.
a reset button to start over a new addition.
program no: TNM247
 Edited by YLedEditor Sunday, June 12, 2016 5:00 PM
Sunday, June 12, 2016 4:59 PMAnswerer