removed calls to PEREDA APP and added a gpio port to control