Hi, Ozzie

This is a pure logic question ... but your problem is not clearly enough explained : no " cooked " solution available with so little detail given ...


so, you could have a look here :

http://karnaugh.shuriksoft.com/

this would help you to write

Led1 = Button1 + ? ....
Led2 = Button2 + ? ...
Led3 = Button 3 ...


Now you also can try to do it the " hard way " using some SELECT CASE statement ... lazy boy solution !!!

looks some school homework , no ???

Alain