include /** * PControl - A proportional controller for use with the TMP2 PMOD to control * the temperature of a resistor */ class PControl{ private: int sp; //set point for proportional conrol int g; //gain for proportional control int highLim; //higest output value alloweed int lowLim: //Lowest output value allowed public: /** * PControl constructor - Initializes a PControl object. */ Pcontrol(/*Put arguments here to initialize private constants*/){ } /** * compute - Takes the current temperature of the TMP2 and does a proportional * calculation with it. The value returned is the result of the calculation. */ int compute(int currentTemp) { } }; void setup() { } void loop() { }