Society of Robots - Robot Forum

Software => Software => Topic started by: stlmarc on March 14, 2011, 01:54:46 PM

Title: No Parity, 2 Bit Stop
Post by: stlmarc on March 14, 2011, 01:54:46 PM
Hi Axon guru's,
     How do I set my uart2 with a no parity, 2 bit stop ? I need it to improved my serial connection with my LCD Diplay.
I can see my byte sent to the display but I have some other noise or byte that  I don't sent.

my display need  a no parity, 2 bit stop on 9600 baud

Regards
Title: Re: No Parity, 2 Bit Stop
Post by: waltr on March 14, 2011, 07:19:20 PM
With PICs parity is calculated in software and set into the 9th bit. 2Stop bits can be done with a one bit time delay between characters.
Title: Re: No Parity, 2 Bit Stop
Post by: stlmarc on March 16, 2011, 03:45:24 AM
Sorry I fogot to specify the MCU I work with.
   My MCU is a Axon and my LCD is a Devantech LCD03.

Title: Re: No Parity, 2 Bit Stop
Post by: Webbot on March 16, 2011, 02:15:39 PM
WebbotLib supports the Devantech LCD03 .

I used the I2C interface coz its faster and is less prone to sending spurious glitch characters that end up re-programming it by mistake.