Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: svjohngalt; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    31,256

    Re: Parity & Stop Bits settings and results

    Defining HSER2_TXSTA made all the difference. I thought the compiler would set this register according to the defines for the BITS and the EVEN, but apparently not. It also explains why I got poor...
  2. Replies
    4
    Views
    31,256

    Re: Parity & Stop Bits settings and results

    I do want to also ask how does the compiler set the values for baud and parity?
    If I set the TXSTA2 register manually, I think with a 24 then I setting the BAUDCON register can set the baud rate....
  3. Replies
    4
    Views
    31,256

    Parity & Stop Bits settings and results

    In my serial application I am setting the second port to 9600 8E1.

    define HSER2_BAUD 9600
    DEFINE HSER2_BITS 9
    define HSER2_EVEN 1
    DEFINE HSER2_CLROERR 1

    These are the only DEFINEs I am...
Results 1 to 3 of 3