I'm just starting to use the plugin in MPLAB and also the demo version PCWHD. Please help
And I'm having these errors:
Quote:
ccgonza.c line (9,22) file can not be opened
-lineA# device required before this line
Undefined identifier output_high, input
Code:
#include "pic16f877.h"
void main()
{
int x;
output_D(0);
while(1)
{
x=input(PIN_C0);
if(x==1) output_high(PIN_D0);
}
}
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Mar 01, 2010 12:43 pm
Quote:
#include "pic16f877.h"
If you are using the CCS compiler, please look in the Devices directory
and find the correct name for the .H file for your PIC. Look in this
directory:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum