Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry:wiring_gpio_clock [2020/02/15 20:51]
admin
raspberry:wiring_gpio_clock [2020/03/05 17:30] (current)
admin [Clock over GPIO]
Line 1: Line 1:
-===== Clock over GPIO =====+===== Clock around the GPIOs =====
  
-One can use the GPIOs of the Raspberry Pi to generate a clock signal.\\+No need for an external crystal, one can use the GPIOs of the Raspberry Pi to generate a clock signal. The library wiring makes it easy and accessible.\\ 
 +\\ 
 +[[http://wiringpi.com/|Wiring]] for the Raspberry Pi was written by Gordon Henderson.\\
  
-=== Install Wiring ===+==== Install Wiring ====
 In the terminal: In the terminal:
    $ sudo apt-get install wiringpi    $ sudo apt-get install wiringpi
Line 22: Line 24:
    $ gpio clock 7 2400000    $ gpio clock 7 2400000
  
-Or in C.+Or in C:\\
    pinMode (pin, GPIO_CLOCK) ;    pinMode (pin, GPIO_CLOCK) ;
    gpioClockSet (pin, frequency) ;    gpioClockSet (pin, frequency) ;
Line 41: Line 43:
 ==== Links ==== ==== Links ====
  
 +[[http://wiringpi.com/]]\\
 [[https://www.raspberrypi.org/forums/viewtopic.php?t=22274]]\\ [[https://www.raspberrypi.org/forums/viewtopic.php?t=22274]]\\
- 
  
 ---- ----