pass GPIO as param and added feed for testing on Mac