script reading status gpio
€8-30 EUR
Paiement à la livraison
Hello,
I need a little code in C language in order to read a list of port on my raspberry pi.
here is more detail :
- the programme must read a list of pin(2,3,4 ect...)
- when status for each pin is "0" the programme must run a shell command "touch /home/myfile1"
- when status for each pin is "1" the programme must run a shell command "touch /home/myfile2"
this programme will run in background on the raspberry pi , so it must use less ressource.
please for sources so i can edit pin list and instruction for compil .
best regards,
Nº du projet : #4779484
À propos du projet
Décerné à:
5 freelances font une offre moyenne de 27 € pour ce travail
I am very efficient in c++. I have 15 years c++ programming experience now, and have worked for 5 years. Please let the expert help you.
Hi, We have expert in-house team of Python programmers. Please check private message.