This project has moved and is read-only. For the latest updates, please go here.

ClearChanges not working

Nov 18, 2013 at 3:19 PM
I worte following code but can't clear motor "RawValue"
private async void btnClearD_Click(object sender, RoutedEventArgs e)
    await this.Brick.DirectCommand.ClearChanges(InputPort.D);

Where I do wrong?
Nov 21, 2013 at 9:49 PM
Just did some testing here and ClearChanges only appears to clear sensors, not not motors. The only way I've found to clear motors is to use the ClearAllDevices method, which isn't ideal. I'll see if I can find something else...might be missing something.
Nov 22, 2013 at 8:57 AM
Yes, I have the same test results.

Thank you very much for your help!
Nov 22, 2013 at 4:36 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.