Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
raspberry:wiring_gpio_clock [2020/02/15 20:51] admin created |
raspberry:wiring_gpio_clock [2020/02/15 21:40] admin |
||
---|---|---|---|
Line 3: | Line 3: | ||
One can use the GPIOs of the Raspberry Pi to generate a clock signal.\\ | One can use the GPIOs of the Raspberry Pi to generate a clock signal.\\ | ||
- | === Install Wiring === | + | ==== Install Wiring |
In the terminal: | In the terminal: | ||
$ sudo apt-get install wiringpi | $ sudo apt-get install wiringpi | ||
Line 15: | Line 15: | ||
==== Clock the Pin ==== | ==== Clock the Pin ==== | ||
- | The clock frequency is derived from the 19.2MHz. One can use GPIO 4 (pin7), GPIO 5 and GPIO 6.\\ | + | The clock frequency is derived from the 19.2MHz |
2.4Mhz would be 2400000\\ | 2.4Mhz would be 2400000\\ | ||
Line 22: | Line 22: | ||
$ gpio clock 7 2400000 | $ gpio clock 7 2400000 | ||
- | Or in C. | + | Or in C:\\ |
| | ||
| |