GPIO functions are crude, and need to be replaced with better ones!
Attach a file by drag & drop or click to upload