PIC16F886 not running.


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default Re: PIC16F886 not running.

    Hi, Peter

    Have a Happy new Year !

    we also could write it :

    Code:
    PORTB = 0
    TRISB = %00000000
    ADCON0 = %00000000
    
    ANSEL = %00000000 ' Make AN0-AN7 digital
    ANSELH= %00000000 ' Make AN8-AN13 digital
    
    WHILE 1
    TOGGLE PortB.0
    pause 300 ' just to see something ...
    WEND
    
    END
    Note PBP+ chip defaults are not shown here ... but [no]don't[/no] NEVER forget they exist !!!
    Last edited by Acetronics2; - 5th January 2015 at 18:58.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Replies: 8
    Last Post: - 28th January 2014, 14:21
  2. Config problem PIC16F886
    By Bosse in forum mel PIC BASIC Pro
    Replies: 55
    Last Post: - 2nd January 2014, 06:24
  3. pic16f886
    By NURULHAIZA in forum General
    Replies: 5
    Last Post: - 21st May 2010, 08:09
  4. PIC16F886 Register Settings
    By aherrera in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th July 2009, 17:52
  5. Pic16f886
    By Larry in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th October 2008, 22:40

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