New to PICBASIC Pro and have simple question


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    42


    Did you find this post helpful? Yes | No

    Default 1 more question

    I didn't want to start another thread for this question.

    Is there any way to take a signal coming in on one pin and output that same signal on another?

    I don't know if the signal is digital or analog so it's not like I can just set it to high, low, or any puls commands.

    Any idea how this can be done?

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Hi plyrathrt. Yes. There is a way for digital signals. You can change the ports to your liking.

    LOOP:
    INPUT PORTB.0
    OUTPUT PORTB.1
    LET PORTB.1 = PORTB.0
    GOTO LOOP

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