[comp.sys.mac.programmer] Lights on ADB keyboard...

bell@eniac.seas.upenn.edu (Mike Bell) (12/20/88)

   I am trying to use the extended keyboard lights in a program that I am  
writing. I have read tech note 206, and I have tried to use the ADBOp call
to set the bits in the register that correspond to the lights, but so far 
the system only crashes; no lights....
   Would anyone have a simple C or Pascal example that they would be willing
to share that just turns the lights off and on ???



				Thanks.


				Mike Bell
				bell@eniac.seas.upenn.edu


     _______________
    /  ___________  \
    | /           \ |
    | |   UPenn   | |
    | |    Mac    | | Administrator:          Mike Bell (bell@eniac)
    | |  Archives | |
    | \___________/ |  To access the Mac archives, issue the command:
    |       ______  |           cd ~mac/new
    |  ,   |______| |  For a listing of all available files, read:
    | @             |            filelist.tx
    \_______________/   Send any questions/suggestions about the archives to:
    |               |
    \_______________/                        mac@eniac

*****  Above instructions are valid for PennNet use only...all others use FTP