Register / Login | Desktop view |
thisPiControl=PiControl[picIdx];
taskIdPiControl[picIdx] = taskManager.scheduleFixedRate(VdmConfig.configFlash.valvesControlConfig.valveControlConfig[picIdx].ts*1000, [] {
UART_DBG.println("pic call");
thisPiControl.controlValve();
});
class CPiControl: public Executable
{
public:
CPiControl();
float piCtrl(float e);
.....
}
extern CPiControl PiControl[ACTUATOR_COUNT];