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 / Replies /                         Build

                        Build

|

Microcontroller › 8051 › Speedometer cum odometer using AT89S52 ›                         Build

January 21, 2013 at 2:57 pm #9021
speedo
Participant

wysiwyg_imageupload:7235:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Build target ‘Target 1’
compiling main.c…
MAIN.C(1): error C103: ‘<string>’: unclosed string
MAIN.C(1): error C141: syntax error near ‘<string>’
main.c(1): warning C318: can’t open file ‘<REGX51.H’
main.c(1): error C305: unterminated string/char const
LCD.H(17): error C202: ‘P2_0’: undefined identifier
LCD.H(18): error C202: ‘P2_1’: undefined identifier
LCD.H(19): error C202: ‘P2’: undefined identifier
LCD.H(20): error C202: ‘P2_2’: undefined identifier
LCD.H(22): error C202: ‘P2_2’: undefined identifier
LCD.H(30): error C202: ‘P2_0’: undefined identifier
LCD.H(32): error C202: ‘P2_1’: undefined identifier
LCD.H(35): error C202: ‘P2’: undefined identifier
LCD.H(36): error C202: ‘P2’: undefined identifier
LCD.H(37): error C202: ‘P2_2’: undefined identifier
LCD.H(39): error C202: ‘P2_2’: undefined identifier
LCD.H(42): error C202: ‘P2’: undefined identifier
LCD.H(43): error C202: ‘P2’: undefined identifier
LCD.H(44): error C202: ‘P2_2’: undefined identifier
LCD.H(46): error C202: ‘P2_2’: undefined identifier
LCD.H(50): error C202: ‘P2_0’: undefined identifier
Target not created

 

i just changed the include <AT89X52> to #include <REGX51.H>  and then change the device from At89S52 to At89C51 is that the correct way to do that. im so sorry i really dont have any idea about mcu programming

RSS Recent Posts

  • An Update On Tarrifs May 16, 2025
  • Trying to use a L9110s motor driver chip May 16, 2025
  • I want to make a CRT with some modifications But i have no Idea where to start May 16, 2025
  • Funny Images Thread! May 16, 2025
  • Need Help Figuring Out the Schematics Of Circuit Board May 16, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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