from my last edit,
' Jumpers
' J3 300 600 1200 2400 4800 9600 14400 19200 28800 38400
' 1--2 RB7 On On On On On On
' 3--4 RA2 ...
when testing baud rate, usualy I start at 300 and up
when it stopped working then I set pace = 1
and re-start from the last baud rate tested.
16F690 Xtal 20Mhz
set pace to 1
sEROUT2...
I only tested at 19200 and the Backlight works OK.
But text, could not send up to this moment.
WIll try different Baud Rate. Though I test on a PIC16F1827 at 32MHz.
Ioannis
set pace to 1 , and it's working
sEROUT2 lcd,baudR,pace,[254,128,"ABCDEFGHIJKLMNOP"]
thanks.
My code honours the timing as specified by the lcd defines , timing that most lcd displays need esp the cheapest and oldest examples of them.
If you send data at a rate that exceeds the specified...
tested richard code, work fine 300 to 9600 at 8Mhz (_INTRC_OSC_NOCLKOUT)
19200 not working at 8Mhz and 20Mhz Xtal
back light working fine 300~19200
9993
just set:
BaudR var word
work fine here
Or more like
SEROUT2 lcd,baudR,pace,[ 255, 8] ' Back Light OFF
SEROUT2 lcd,baudR,pace,[ 255, 0] ' Back Light ON
depending on how you connected the backlight of course
the code I use are similar, you can try to adapt.
for the Hitachi HD44780 the decimal 254 represent the low RS then you need ot receive the line # as 128 line #1, 192 line #2, 148 line #3, 212...
FSK demodulator in firmware
I have what looks to be a 1.6/3.2kHz FSK signal that I'd like to demodulate to a bitstream using a suitable PIC.
HenrikOlsson Today, 18:07It's a two wire system with bursts of the FSK signal riding on top of the DC supply,...