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  ̚(A2.A3.A4) A1)+  ̚(  ̚A1+A2+ A3+A4)+  ̚(  ̚(A1.A4)+ A2+A3)+  ̚ (A1+A2+A3+A4) 
D6= ̚(  ̚A4+A1+A2+A3)+  ̚(  ̚ A3+A1+A2+A4)+ (  ̚(A3.A4)+A1+ A2) + ̚( ̚A2+A1+A3+A4)+
  ̚(  ̚(A2+A3+A4)+A1)+  ̚(  ̚A1+A2+ A3+A4)+  ̚(  ̚(A1.A4)+ A2+A3)+ ̚(A1+A2+A3+A4)
           


GAMBAR PROGRAM SIMULASI ANGKA
(0,1,2,3,4,5,6,7,8,9)
DENGAN 7-SEGMENT DISPLAY
4 INPUT



HASIL TEST SIMULASI
ANGKA 0

BLANK 




Tutorial Proggram simulasi angka dengan 7 segment display

 

sumber :  https://www.youtube.com/watch?v=DbRghK7nzEQ



No comments:

Post a Comment