error added when writing to gpio fails.