hello everyone.
i have written a very simple program for PIC16f628, which sends the word "hello" over the TX UART pin, to the RX pin of a DLP(device which recieves rs232 and sends it out via usb to a different device). The DLP is connected to my pc via USB. I have created a virtual comport COM6 for the DLP, so that the PIC can communicate with pc in a serial fashion, but through the interface of a USB connection instead of an old fashioned 9pin serial way. hope this makes sense.
anyway, set up the PIC to transmit the data as soon as it starts up once, then to transmit it whenever rb4 is set high by pressing a button etc.
i have made a connection to the DLP that the PIC is connected to via hyperterminal. i am using baudrate of 9600, 1stop bit, no parity.
i am not seeing my message come up onto the screen in hyperterminal. i have looked over my code a thousand times and i cant find the problem. could someone please look at my code, to confirm to me if the PIC is actually properly outputting the data through its UART TX pin. this way i can find out if the problem is with my programming of the PIC or with the DLP.
i am using hyperterminal private edition, on windows vista, because for some reason they decided not to include hyperterminal.
please help because iv exhaused myself trying to fix this by i cant find the problem and its starting to make me depressed.
i have attatched the code
thank you
i have written a very simple program for PIC16f628, which sends the word "hello" over the TX UART pin, to the RX pin of a DLP(device which recieves rs232 and sends it out via usb to a different device). The DLP is connected to my pc via USB. I have created a virtual comport COM6 for the DLP, so that the PIC can communicate with pc in a serial fashion, but through the interface of a USB connection instead of an old fashioned 9pin serial way. hope this makes sense.
anyway, set up the PIC to transmit the data as soon as it starts up once, then to transmit it whenever rb4 is set high by pressing a button etc.
i have made a connection to the DLP that the PIC is connected to via hyperterminal. i am using baudrate of 9600, 1stop bit, no parity.
i am not seeing my message come up onto the screen in hyperterminal. i have looked over my code a thousand times and i cant find the problem. could someone please look at my code, to confirm to me if the PIC is actually properly outputting the data through its UART TX pin. this way i can find out if the problem is with my programming of the PIC or with the DLP.
i am using hyperterminal private edition, on windows vista, because for some reason they decided not to include hyperterminal.
please help because iv exhaused myself trying to fix this by i cant find the problem and its starting to make me depressed.
i have attatched the code
thank you