TRISA=255
TRISB=0
DEFINE DEBUGIN_REG PORTA ' Serial data come in
DEFINE DEBUGIN_BIT 0 ' PORTA.0
DEFINE DEBUGIN_MODE 0 ' true driven mode
DEFINE DEBUG_BAUD 9600 ' 9600 BAUD...
Type: Posts; User: elios115; Keyword(s):
TRISA=255
TRISB=0
DEFINE DEBUGIN_REG PORTA ' Serial data come in
DEFINE DEBUGIN_BIT 0 ' PORTA.0
DEFINE DEBUGIN_MODE 0 ' true driven mode
DEFINE DEBUG_BAUD 9600 ' 9600 BAUD...
thx for ur help:)
i mean is there anything wrong with the pbp code i attached above?
hey guys about the 4MHZ not enough for the 9600 baude rate r u sure about it
?
well i m using a vb application to send the byte and it is sent as hexadecimal
well i ll look for the 4 MHZ oscillator for such a high bauderate.
i did used the max232
i m using 4MHZ oscillator
my data come out from the rs232
below is my attachement of the schematic
i wrote this code but it s not working! so any ideas
N2400 con 0 'Set Serial mode
T9600 con 2 ' Set serial mode Baud Rate (T = True)
VARB0 var ...
i m using these settings "9600,N,8,1"
hey guys i m using the PIC16F84 with 9600 baudrate, no stop bits.
i just need a code using picbasic pro that takes 8 bites from the port A0 of the PIC and outpot them as bits on b0 through B7
the...
yea i m using the max232 chip and i m using the 9600 baud rate!
the serin can be modified for my purpose but i need how?
in fact a vb code sends 4 bytes for controlling the for direction of the car!
the byte goes out from the serial port of the pc and goes into the PIC through A0.
then this byte should be outputed on...
hey
can anyone help!
i m using PIC16F84 to control a car
i need to send a byte through A0 and get it out on port b(b0...B7)
can anyone help with the code?
thx