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