passing a pin to a function

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

what data type is a pin being passed to a function

kinda embarrasing to ask...but really i googled for 20 min, got frustrated, and realized yall could tell me in 2 secs:-P

Im just trying to make a function to take a pin high and one to take one low.

Using avr studio 4 with gcc

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

See this tutorial Bit manipulation (AKA "Programming 101")

Regards
Sebastian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks. That helped me make myself a little bit processing library so I dont gotta think about it again. :-)