7 segment display emulator v1.0
[edit]
7 segment display emulator v1.1 (new design)
[edit]
7 segment display emulator v1.2 (stamping the segments)
[7 segment display emulator v1.3 (stamping the segments & display a number)
7 segment display emulator v1.0
[edit]
7 segment display emulator v1.1 (new design)
[edit]
7 segment display emulator v1.2 (stamping the segments)
[7 segment display emulator v1.3 (stamping the segments & display a number)
Nice.
I collect these Japanese puzzle boxes, and one of them is based on the seven-segment display:
You frobnicate the three sliders to choose which segments are in use, and you have to get numbers in the right sequence to slide the drawer at the right open. :~)
Cool puzzle!
Did you succeed?
Oh, yeah, it's one of their easier ones. But I can't imagine how they built it. (I really need a CAT scanner to use on these puzzle boxes!)
Here's the v1.1
improving design of the segment
bit shifting is fun : 1st time for me...
A couple of suggestions:
Make a costume with the outlines of all seven segments. Then, for each digit, STAMP the costume and then just fill the segments you want.
Instead of seven separate blocks of code, one per segment, do a
FOR SEG = 0 TO 6
and have a list of positions to fill each segment. You can shift by SEG bits each time, or you can shift by one bit each time and remember the result.
i released v1.2 and v1.3
(see 1st post)