Skip to main content
edited title
Link
Ghanima
  • 15.9k
  • 16
  • 63
  • 120

How can iI turn an GPIO to its alternate function?

Tweeted twitter.com/#!/StackRaspi/status/265088373046272000
Source Link
user61664
  • 209
  • 1
  • 2
  • 3

How can i turn an GPIO to its alternate function?

I want to use the altenate function of GPIO 4 namely the GPCLK0 function. How can one set a GPIO to its alternate function? Many alternate functions are summarized here: elinux-wiki

The best would be if it is possible with the wiringPi Library. But i do not mind to use arbitrary C-code if someone tells me how to do it. After entering an alternative function, i think it is needed to configure it?