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 / This code is in Keil btwYa I

This code is in Keil btwYa I

|

Microcontroller › 8051 › Bluetooth heart rate monitor? › This code is in Keil btwYa I

February 17, 2014 at 6:57 pm #11046
John Jameson
Participant

This code is in Keil btw

Ya I had tried adding #include<reg51.h> to it but I was meet with this then

sensor.c(15): warning C206: ‘lcdInit’: missing function-prototype
sensor.c(17): warning C206: ‘lcdClear’: missing function-prototype
sensor.c(18): warning C206: ‘lcdGotoXY’: missing function-prototype
sensor.c(18): error C267: ‘lcdGotoXY’: requires ANSI-style prototype
 
Is there a couple of things I’m doing wrong?
Like should I specifing the folder in which the header file is contained? i.e  #include<atmel/reg51.h>
Or should I be adding the header file to the source group?
 
Although I did do a copy of the reg51 header file and added to the folder where the sensor code was saved and tried building it using 
#include “reg51.h” but got the same error
 

RSS Recent Posts

  • cpap change over circuit March 14, 2026
  • Fender rumble 100 base amp, power, light and overdrive light flash repeatedly when power turned on no output March 13, 2026
  • Phone to op amp circuit? March 13, 2026
  • Arduino standalone minimal March 13, 2026
  • Project boxes March 13, 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