Okay so I am trying to save a file (dht11.c) into the usr/local/lib folder and can not figure out how to do so.
I tried to open the file with the leafpad text editor and use "save as" to save the file into the usr/local/lib folder and when I click the save button this message pops up "Can't open file to write"
Also, when I try to use the file manager to copy and paste the file into the folder i get this error message:
dht11.c: ERROR opening file '/usr/local/lib/dht11.c': Permission denied
Any thoughts???