In Progress

script reading status gpio

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,

Skills: C Programming, Python

See more: 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, port python script, raspberry python gpio, gpio raspberry, little python, code status

About the Employer:
( 4 reviews ) parimaribo, French Guiana

Project ID: #4779484

Awarded to:

ibaydan

I can complete this for you.

€19 EUR in 1 day
(3 Reviews)
3.3

5 freelancers are bidding on average €27 for this job

hbxfnzwpf

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.

€48 EUR in 3 days
(82 Reviews)
6.6
NTechcorporate

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

€27 EUR in 1 day
(14 Reviews)
5.9
sujin921

Hi, I'm here.

€23 EUR in 3 days
(1 Review)
0.8
xnguchen

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

€18 EUR in 3 days
(0 Reviews)
0.0