Modified for dynamic slave status update by initial polling of all device addresses,MAXSLAVE changed to 32