I'm using MPLABX with a HI-Tech compiler and a PIC12F675.
I need to see my variables especially those created by the random generator.
I tried the printf () function in different formats and get error
"HI-TechC\lib\doprnt.c": No such file or directory"
or
"c:14: error: conflicting declarations for variable "_printf" (comtest.c:38)"
depending on if I include "#include <stdio.h>" or not.
How can I use the print function?
I also tried to implement serial UART output from the chip to a terminal like I used to in my old BASIC compiler.
But the HI-Tech compiler cannot find the "#include "sw_uart.h"".
Error: ""sw_uart.h": No such file or directory"
and the put and get and write commands fail.
How can I make software UART work on this compiler?
Thanks for any help
I need to see my variables especially those created by the random generator.
I tried the printf () function in different formats and get error
"HI-TechC\lib\doprnt.c": No such file or directory"
or
"c:14: error: conflicting declarations for variable "_printf" (comtest.c:38)"
depending on if I include "#include <stdio.h>" or not.
How can I use the print function?
I also tried to implement serial UART output from the chip to a terminal like I used to in my old BASIC compiler.
But the HI-Tech compiler cannot find the "#include "sw_uart.h"".
Error: ""sw_uart.h": No such file or directory"
and the put and get and write commands fail.
How can I make software UART work on this compiler?
Thanks for any help