Setting GPIO and TRISIO


Results 1 to 6 of 6

Threaded View

  1. #5
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Setting GPIO and TRISIO

    Is that close?
    You have got it!

    Is it necessary to set the gpio.0 or gpio.6 to 0 to make sure they turn off at start up?
    No, since Led1 and Led2 has been declared as alias of gpio.0 and gpio.6. So if you want set them to zero just state Led1=0 : Led2=0.

    Cheers

    Al.
    Last edited by aratti; - 10th March 2011 at 21:43.
    All progress began with an idea

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