script reading status gpio


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,

Compétences : Programmation C, Python

En voir plus : script reading, shell programming language, raspberry pi programming language, raspberry pi programming, raspberry pi c programming, programming the raspberry pi, programming raspberry pi, programming on raspberry pi, programming instruction, i need python shell, python programming language , programming language python, status, raspberry, python raspberry, GPIO, c++ pi, c pi, status code, raspberry run python

Concernant l'employeur :
( 4 commentaires ) parimaribo, French Guiana

Nº du projet : #4779484

Décerné à:


I can complete this for you.

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% EUR en 1 jour
(3 Commentaires)

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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(82 Commentaires)

Hi, We have expert in-house team of Python programmers. Please check private message.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(14 Commentaires)

Hi, I'm here.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(1 Évaluation)

Hi! I am an embedded software engineer. I can do it for you !

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(0 Commentaires)