yes charlie the cable i have is a usb to serial with a ttl chip built in, so its a USB to TTL cable
pedja, going to try that and see what happens, not sure what your code is going to do
yes charlie the cable i have is a usb to serial with a ttl chip built in, so its a USB to TTL cable
pedja, going to try that and see what happens, not sure what your code is going to do
Chris
Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."
OK the Data from PIC to PC works fine, but from PC to PIC fails, heres code Im working with, NOTE that im am still using 9600 8N1 on the pc.
LCD display numbers from 130 - 137 based on what character is sent, only a few characters work, say d - l (lower case) and they dont corrospond to any numbering system i was hoping for ascii valuesCode:Define OSC 20 'USE ECIO, NOT ECPIO define HSER_BAUD 9600 DEFINE HSER_BITS 8 DEFINE HSER_CLROERR 1 RCSTA = $90 TXSTA = $20 'DO NOT USE $24 TRISC = %10000000 TRISD = 0 MYBYTE VAR BYTE MAINLOOP: mybyte = 0 Hserin [MYBYTE] LCDOUT $FE, 2 LCDOUT $FE, $80 LCDOUT "MYBYTE = ", DEC MYBYTE Hserout ["Received = ", mybyte, 13, 10] goto mainloop
Chris
Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."
Bookmarks