On Sat, 14 Mar 2020 20:09:33 -0000 (UTC), Gordon Henderson
wrote:
>There is NO currently supported wiringPi source code download, at least
>none by me, the author, so I've no idea where you're getting the source
>from. If you're using Raspbian, then sudo apt-get install wiringpi,
>however read this and pick another GPIO library
>
>http://wiringpi.com/news/
>
>And remember; wiringPi is intended for experienced C and RTB BASIC
>users only. It's not a newbie learning tool.
>
>Gordon
Hello Gordon, and thank you for the reply. First I would like to say
that I did not mean to bother you with a newbie question, but hoped
that some of the "regulars" on this group could help. And they sure
did help. Now I can read and write to the GPIO from programcode,
thanks to your wiringPi library and the kind help I recieved.
The link you put in above was one of the places I visisted, so I know
that you are not supporting wiringPi anymore. I googled "raspberry
gpio c" to find ways of reaching the GPIO from programcode, and got
several links to wiringPi stuff, so I set out to use that. If anyone
can suggest a simpler C-library to use, I would be gratefull. I had a
look at the code in wiringPi.c, and got blown away :-) For now
wiringPiSetup, pinMode, digitalRead and digitalWrite is al I use.
Best regards
--
Jesper Kaas - jesperk@neindanke.online.no
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|