16F88 7 data bits


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    Hi Richard,

    I hope this approach works for you.

    Best of the Day,
    Last edited by paul borgmeier; - 12th February 2008 at 17:50. Reason: grammar
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  2. #2
    Join Date
    Oct 2005
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by paul borgmeier View Post
    Hi Richard,
    I this approach works for you.
    Best of the Day,
    I ended up using SER2 for the 7,N,1 Stuff then
    using HSER for the 8,N,1 Stuff.

    Check the Dip switch, Configure TXSTA, RCSTA, SPBRG to the values needed or Zero if not needed. This worked great and allowed me to still use the modifiers like in SER2.

    Thanks for the ideas.

    Richard

  3. #3
    Join Date
    Oct 2005
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    Would it be possible to use the pic's hardware USART set at 9600,8,N,1 and receive and transmit data to the 7,N,1 device by simply massaging the bits some.

    When I receive the bytes, I would shift them to the left once and store just the 7 bit value as a byte.

    Before sending the bytes from the array, then make sure the 8th bit is a 1. Wouldn't the 7,N,1 system see this as 7 data bits and two stop bits?

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  3. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  4. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts