I'm having problems compiling EX_FLOAT.C and my own code when I include input.c. Compile stops at the below point insdie input.c:
#include <ctype.h>
BYTE gethex1() {
char digit;
digit = getc(
Undefined identifier -- getch
Using PCWH v 3.249
I know the problem is super simple, but I don't see it! Help is much appreciated!
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Apr 25, 2007 11:42 am
This will happen if you comment out the #use rs232() statement in
the Ex_Float.c file. If the compiler doesn't have the UART library
code included, then it doesn't know what getch means.
This is the line:
Code:
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
Guest
Posted: Thu Apr 26, 2007 8:08 am
PCM programmer:
Thanks for the reply. Yes, I caught that yesterday. What a big DUH!
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