My last post got removed i guess, probably because my answer did not give an answer to the last question...
As i told before, i'm a noob... a nurse from the netherlands to be exact who want's to help his patients by building a device using Arduino.
I used differents codes from online sources to make a code that works for me, so indirectly i did not write the code myself but why is this question relevant???