Tweaks to eg file
Better solution for setting pin values
Used wrong pin name