Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
code:flashing_led_c [2015/10/19 15:11] admin created |
code:flashing_led_c [2015/11/24 19:02] admin [Flashing an LED in C on Raspberry Pi B+2] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ---- | + | ===== Flashing an LED in C on Raspberry Pi B+2===== |
- | ===== Flashing an LED in C on Raspberry Pi B2===== | + | |
The C example " | The C example " | ||
- | [[https:// | + | [[https:// |
#define BCM2708_PERI_BASE | #define BCM2708_PERI_BASE | ||
Line 16: | Line 15: | ||
[[http:// | [[http:// | ||
- | ==== Knowledge ==== | + | ---- |
+ | ===== Knowledge | ||
The Raspberry Pi B has the SoC BM2835 and the Raspberry Pi B2 has the Soc BM2836 on the Board. That means working with the GPIOs needs different code. | The Raspberry Pi B has the SoC BM2835 and the Raspberry Pi B2 has the Soc BM2836 on the Board. That means working with the GPIOs needs different code. | ||
Line 26: | Line 26: | ||
[[http:// | [[http:// | ||
[[https:// | [[https:// | ||
- | + | [[http:// | |
- | http:// | + | |
---- | ---- | ||