Create Code for both the IR and Weight Sensor