[SOLVED] Help With USB to Serial interface for a 16F88. What am I doing wrong?
Hello,
I have this circuit attached below and I can open hyperterm and hold the tx and rx of the FT232 and verify I am sending characters but when I try to get my PIC to read that character it does not see it.
Does anything look wrong with my circuit?
Here is my code for the PIC using PIC BASIC PRO:
Thanks
Hello,
I have this circuit attached below and I can open hyperterm and hold the tx and rx of the FT232 and verify I am sending characters but when I try to get my PIC to read that character it does not see it.
Does anything look wrong with my circuit?
Here is my code for the PIC using PIC BASIC PRO:
Code:
DEFINE OSC 4
Include "modedefs.bas"
B0 var byte
high PORTB.1
mainloop: Serin PORTB.2,N2400,B0
If B0 = "b" Then
Low PORTB.3
endif
If B0 = "a" Then
high PORTB.3
endif
Goto mainloop
Thanks
Attachments
Last edited: