WiringPi lib for accessing GPIO.
Posted: Tue Dec 17, 2013 5:22 pm
The WiringPi lib for accessing GPIO
https://projects.drogon.net/raspberry-p ... functions/
I need access the periperhal pin on pi board therefore I am using this wiringPi lib. However, I check it's using Broadcom chipset.
Now my Pi has a Samsung chipset, so does the wiringPi still gonna work? In the code there's a board com magic key, I suppose Samsung would have one different.
Now, Why my pi use a Samsung chipset, I prefer to get Broadcom.. Do I need to return the pi and ask one with Broadcom chipset?
https://projects.drogon.net/raspberry-p ... functions/
I need access the periperhal pin on pi board therefore I am using this wiringPi lib. However, I check it's using Broadcom chipset.
Code: Select all
// BCM Magic
#define BCM_PASSWORD 0x5A000000
// The BCM2835 has 54 GPIO pins.
// BCM2835 data sheet, Page 90 onwards.
// There are 6 control registers, each control the functions of a block
// of 10 pins.
// Each control register has 10 sets of 3 bits per GPIO pin - the ALT valuesNow my Pi has a Samsung chipset, so does the wiringPi still gonna work? In the code there's a board com magic key, I suppose Samsung would have one different.
Now, Why my pi use a Samsung chipset, I prefer to get Broadcom.. Do I need to return the pi and ask one with Broadcom chipset?