Thread: Writing C code to control I/O of 8051 chip

  1. #1
    Unregistered
    Guest

    Writing C code to control I/O of 8051 chip

    Hello friends,

    I am working on the project of writing C code to embbed it to the 8051 chip family and use the I/O chip "legs" to control small electrical devices like LEDs etc...

    What I am been stuck with is how to address each chip's I/O legs in hex address to control for time sequence (some delay function) like turn this LED on, that LED off etc...

    Very much appreciate if you guys out there an help.

  2. #2
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    i assume you have an 8051 compiler? doesn't it have some specs on how you control the 8051 and it's various i/o functions?
    hello, internet!

  3. #3
    aurė entuluva! mithrandir's Avatar
    Join Date
    Aug 2001
    Posts
    1,209
    Try http://www.8052.com/tut8051.phtml - not sure if it has anything that good on I/O.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing C code in VS2005
    By advancedk in forum C Programming
    Replies: 6
    Last Post: 08-18-2008, 02:34 PM
  2. Replies: 3
    Last Post: 02-29-2008, 01:29 PM
  3. Replies: 0
    Last Post: 02-21-2002, 06:05 PM
  4. Source Code Control Systems
    By Isometric in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-06-2002, 04:46 AM
  5. Need some code on File I/o
    By rcorbett in forum C++ Programming
    Replies: 1
    Last Post: 10-26-2001, 12:51 PM