Quote:
Originally Posted by Radical Pi
Code:
Compressor *compressor;
Contructor() {
...
compressor = new Compressor(PRESSURE_SWITCH_CHANNEL, RELAY_CHANNEL);
compressor->Start();
...
}
replace PRESSURE_SWITCH_CHANNEL and RELAY_CHANNEL of course
|
How do we put this piece of code on our code. We just have the simple template.