Skip to content

Add a method to PID_v2 to adjust the output while in Manual mode #5

Open
@KissGe83

Description

@KissGe83

Dear All,

First of all, thank you very much for this PID V2 Library!
I have an issue with the PID SetMode function. Whatever I set, the output is still in control, the process overwrites my manual inputs.
This is perfectly working for me in PID V1, but once I replaced the library with V2 it stops to work.

I used the following methods to activate / deactivate the process, neither was working for me:
SERVOPID.SetMode(MANUAL);
SERVOPID.SetMode(PID::Manual);

I checked and it should be fine.

I called the
SERVOValue = SERVOPID.Run(PITSensorValue);
after I manually adjust the SERVOValue, the PID V1 did not do anything with the value, but V2 is adjusting.

Many thanks and Kindest Regards,
Gergely

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions