new to 8 pin pic


Results 1 to 15 of 15

Threaded View

  1. #8


    Did you find this post helpful? Yes | No

    Default

    Hello hoyles,

    let me give you some pointers on that

    For the PIC12F629/675 you have no portb, it's called GPio

    So:

    where you have :
    Code:
    TRISB = %00000000
    pb0 var PORTA.0
    you need to have something like:


    trisio=%000001
    pb0 var gpio.0

    and for:

    Code:
    If pb0 = 1 and b0 = 0 Then one
    you need to have something like:

    if ( pb0=1 ) and ( b0=0 ) then one

    Get the ideia?
    Last edited by ruijc; - 22nd February 2008 at 18:03.

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. newbe looking for PIC advice
    By Mad Professor in forum General
    Replies: 3
    Last Post: - 27th May 2009, 07:56
  3. PIC to PIC communication problem
    By precision in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st June 2007, 03:51
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. 8 port Signal Loss Detector, possible to use a pic?
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th March 2006, 15:59

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