Timeline for How to set Raspberry Pi GPIO pins to input or output using clean C?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 19, 2015 at 15:41 | comment | added | Aleksander Dashov | Yes, since i would like to go low level, closer to the hardware, I don't want to use any external libraries, like wiringPi etc. | |
Dec 19, 2015 at 9:54 | comment | added | joan | Yes, that is much better. So if I understand correctly by clean C you mean only using the GNU libraries. | |
Dec 19, 2015 at 9:26 | comment | added | Aleksander Dashov | You can look at a whole working example here: raspberrypi.stackexchange.com/questions/39202/… | |
Dec 19, 2015 at 9:24 | history | edited | Aleksander Dashov | CC BY-SA 3.0 |
added 157 characters in body
|
Dec 18, 2015 at 20:36 | comment | added | joan | I'm not sure what makes this code any cleaner than any other. As it stands it does not compile. Could you update the example so it compiles? The code as written would only work on a Pi2. | |
Dec 18, 2015 at 11:59 | vote | accept | Aleksander Dashov | ||
Dec 18, 2015 at 11:56 | history | answered | Aleksander Dashov | CC BY-SA 3.0 |