I’m trying to get the serial driver to work to collect and parse data in realtime. Right now i want to get the driver to be able to read off a value from the serial port and send it to the computer using hyperterminal or something.
I’ve tried adding my own routine to the driver and it says that there’s a syntax error
the code is as follows:
C:\Documents and Settings\VexCode\PicSerialDrv.c:430:Error  type mismatch in redeclaration of ‘Serial_Char_Callback’
C:\Documents and Settings\VexCode\PicSerialDrv.c:436:Error  pointer operand required for ‘*’ operator
C:\Documents and Settings\VexCode\PicSerialDrv.c:436:Error  type mismatch in assignment
Thanks i got it to compile.
When i went to input data using hyperterminal except it wouldn’t react to the input. I want to get the microcontroller to be able to recieve data from the computer and print it back out to the screen. I want to assign values to the microcontroller array ctd using hyperterminal using the picserialdrv.c. And then get it to print back out again. Is this the correct way to do it?
It turns out i was dealing with a bad unpacking of the source code so that it would not function properly the the serial driver works fine now. Thank you guys for all your help. My function ended up as: