Quote Originally Posted by Acetronics View Post
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
yess it is for a project at school, well i will try to explain what i want..

basicly it is:

if button1 is pressed once LED1 must go on and stay on until button 2 is pressed
if button 2 is pressed once LED1 must go of and LED2 must go on until button 3 is pressed
if button 3 is pre......

thanks