newbie: 16F688 with COUNT & SEROUT


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    20


    Did you find this post helpful? Yes | No

    Default

    Thanks for the replies!

    Even though it may not be the best solution this should work, right? (I'm just experimenting/learning)

    Are my registers set correctly? Is logical Pin 1 --> physical Pin 12 on the 16F688?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I'm not a PIN number fan/ser, i'll prefer to use the Pin Name instead
    Code:
    SEROUT PORTB.0,N2400,["Hertz: ",#W1,13,10]
    OR using a alias
    Code:
    SerialOutput    VAR PORTB.0
    '
    '
    '
    '
    '
    SEROUT SerialOutput,N2400,["Hertz: ",#W1,13,10]
    You can find an explanation on pin number in section 4.11 of the manual.

    HTH
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 21:58
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 17:46
  3. COUNT is not counting again
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 19th June 2009, 05:52
  4. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 18:11
  5. Keypad unlock (as in garage door possibly)
    By Fred in forum Code Examples
    Replies: 5
    Last Post: - 2nd April 2006, 05:26

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