Good afternoon all,
Am trying to blink an led using fx2lp breakout board. We connected one led at pin portA.0. By keeping examples program as reference given in the fx2lp dvk kit website We written the code for this one. We are getting error as shown below.
Please let me know how to solve this problem.
sbit led = PA.0;
void wait(int x)
int i, j;
for(i = 0; i<x; i++)
for(j = 0; j<25; j++);
led = 1;
led = 0;
It is clearly written in the error log.
-> It seems that there is no file with reg51F.h in your project that is included(warning)
-> PA.0 is it defined in any .h files that you have included?check whether it is "PA.0" or "PA0"
Inlcude the header files correctly before using the content in those headef iles
Thanks for your reply.
We tried the code by keeping reference example program BLINKY code, which we got by installing the cypress driver.
Please go through the code attached below.
Where i get reg51F.h header file as mentioned in the below attached code?