16F883 and Problems with HIGH statement


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    The problem now is that when using the statement: HIGH PORTB.0 the port goes down again immidiately.. If I put a pause directly after it stays on however.
    Is this normal??
    Yes it is.

    The 16F88x devices have analog functions on PORTB.

    add this ...
    Code:
    ANSELH = 0
    DT

  2. #2
    Join Date
    Oct 2009
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Thank you

    Thank you for helping me out with that one. Pretty simple problem now after reading about the ANSELH in the datasheet though... But its nice to get some help when you are banging the head...
    I am learning new stuff all the time and I think the PIC processor is great. I work as a teacher in high school and we have been using Basic Stamp wich is a bit easier to work with but have limitations. (Especially the price !!) One of my students made code for a tachometer using BS2 and I promised him to port the program to a cheaper PIC processor. I managed to get the tachometer running now on a PIC16F628 that costs a fraction of the BS2. I hope my student will be pleased.
    Thanks again.

Members who have read this thread : 1

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