EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / how to write ‘c’ program in keil n assemble it??

how to write ‘c’ program in keil n assemble it??

|

Microcontroller › 8051 › how to write ‘c’ program in keil n assemble it??

  • This topic has 2 replies, 3 voices, and was last updated 13 years, 6 months ago by balaji.n.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 5, 2012 at 7:32 am #1936
    rohit goutam
    Participant

    for every line when i’m converting to .c file it’s showin unidefined identifier..

    now i dont know how to define p1.0,etc..

    please help me

    (for progrm please refer to 8051 projects-simple digital clock using at89c51)..

    September 5, 2012 at 6:03 pm #8532
    AJISH ALFRED
    Participant

    Hi,

    Have you included the required header files?

    Kindly post your code also.

    September 10, 2012 at 3:05 pm #8558
    balaji.n
    Participant

    please define in

    sbit its a small leters

    s its a small or caps letters

    P1.2 is must be a caps letter only

    and not placd . and used ^ this symbol only

     

     

    sbit s =P1^0;

     

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • My Advanced Realistic Humanoid Robots Project March 12, 2026
  • Very Curious Issue With DS3231 RTC Clock March 12, 2026
  • Motor Getting Hot March 11, 2026
  • LM741 alternatives? March 11, 2026
  • H bridge current direction logic March 11, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise