Port 'a' problems


Closed Thread
Results 1 to 15 of 15

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    I don't understand why it shouldn't work unless you have an hardware problem OR a bad configuration fuse setting.....

    what happen with that one???
    Code:
            @       __CONFIG  _INTRC_OSC_NOCLKOUT & _MCLRE_OFF  &  _LVP_OFF & _WDT_OFF & _PWRTE_ON  & _BODEN_ON  
            '
            '       or use the one bellow if you use PM assembler
            '   @       device  pic16F628A, intrc_osc, wdt_on, mclr_on, lvp_off, protect_off 
            PORTB = 0
            PORTA = 0
            TRISB = 0
            TRISA = 0
            CMCON = 7
            
    START:
            PORTA = 255
            PORTB = 255
            PAUSE   200
            PORTA = 0
            PORTB = 0        
            PAUSE   200
            GOTO    START
    but yeah... pure assumption, no schematic available, and i need more cofee
    Last edited by mister_e; - 14th July 2007 at 14:52.
    Steve

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

Similar Threads

  1. port config.
    By tamertokgoz in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th July 2008, 12:25
  2. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  3. Notebook Com Port win2k problems
    By folkc in forum Serial
    Replies: 4
    Last Post: - 20th February 2006, 16:16
  4. STATUS re-curtain W
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th February 2005, 15:21
  5. Port pin problems
    By sgreelish in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th March 2004, 18: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