Has anyone got any simple code that I can 'borrow' to make a '84 wake up from sleep mode when an input changes state? I also want some code to put the device back into sleep mode. The application? Well I want to build my daughter an electronic gadget for christmas. Press a button and lights come on, the thing beeps and then switches off ! Any help much appreciated! Mike Barrett ============================================= Mike Barrett E-mail: barrett@cambridge.scr.slb.com Schlumberger Cambridge Research Phone: 01223 325200 PO Box 153, Cambridge, CB3 OHG. U.K Fax: 01223 327019 =============================================