public void handleData(int id, byte data) {
    	if (id < 3) {
    		// Hard panel just powered on. Prepare for its input
    		HP_INIT = true;
    		
    		// Getting buttons states
    		for (int i=0; i<8; i++) {
    			if (((data>>i) & 1) == 1) {
    				buttonArray[id*8 + i].setStatus(0);
    			}
    			else {
    				buttonArray[id*8 + i].setStatus(1);
    			}
    			//buttonArray[id*8 + i].setStatus((data>>i) & 1);
    		}
    	}
    	/*
    	else if (id < 6) {
    		// Getting switch states
    		for (int i=0; i<8; i++) {
    			switchArray[(id-3)*8 + i].setStatus((data>>i) & 1);
    		}
    		
    		if (id==6) 
    			System.out.println("done");
    	}
    	*/
    	else if (id == 6) {
    		// Send this input to power plant simulator
    		
    		// Done receiving input
    		HP_INIT = false;
    		
    		// Send hard panel our output
    		//sendAllOutput();
    	}
    	
    }