159 M segments

159 : 0b 010 011 111 : M segments

Select Project 1 2 3 4 5 6 7 8 9 ON SW2

picture

How it works

AND gates connect to the 7 segment display

How to test

Turning on the first 4 inputs will show a 3 on the display

IO

# Input Output
0 input 1 segment a
1 input 2 segment b
2 input 3 segment c
3 input 4 segment d
4 none segment e
5 none segment f
6 none segment g
7 none dot