Love this site? Hate it? Leave us some comments.
*/
*/

View c\turboc\LEDONOFF.C

Printer Port Interfacing 1 V1.0

Submitted By: myscripting
Rating: starstarstarstar (Rate It)


/*flash an led on and off*/
#include <stdio.h>

int main()
{
     outport(0x378,0);
     sleep(1);
     outport(0x378,1);
     sleep(1);
     return 0;
}

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.
Resource Listings