changing pins arary to work with rpi version 3