Hey all,
I have connected digital sensor and led using node-red in raspberry pi 3 , these devices work using nodes already exist in node-red without any need to write python code to get data from sensor or control led. I am trying to use python code to deactivate the sensor to stop send data or zero value, and code to activate it again. I used unexport for GPIO number 7 where my sensor is connected, but it doesn't work. Actually, I am new with raspberry pi 3 and I don't have strong knowledge. could you help me to know how can I do this ?