PIC16F767 IOs


Results 1 to 13 of 13

Thread: PIC16F767 IOs

Threaded View

  1. #6
    Join Date
    Feb 2006
    Posts
    89


    Did you find this post helpful? Yes | No

    Default Code

    Is that your entire code. You might want to try and establish a know condition of the pins at the beggining. What osc are you using?

    cmcon=7
    adcon1=7

    trisa = %00000000 ' makes them outputs
    porta = %11111111 ' makes them high

    main:
    Toggle PORTA.0
    Pause 300
    Toggle PORTA.1
    Pause 300
    Toggle PORTA.2
    Pause 300
    Toggle PORTA.3
    Pause 300
    Toggle PORTA.4
    Pause 300
    Toggle PORTA.5
    GoTo main
    End
    Last edited by Travin77; - 29th May 2006 at 00:10.

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. 8+8 IOs controlled via sms
    By aratti in forum GSM
    Replies: 15
    Last Post: - 11th December 2008, 11:29
  3. PIC16F767 blinking code
    By DanPBP in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 16th October 2006, 14:25
  4. problem ont hpwm on the pic16f767!!
    By oscar in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 20th May 2005, 10:41

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