Skip to content

Sampled digital inputs rate is slightly incorrect #479

@jonnew

Description

@jonnew

A known bug in the breakout_digital_device hdl module version 2 requires that 2 ticks need to be subtracted from periodTicks before it is written to the DigitalIO.SAMPLE_PERIOD register on this line:

device.WriteRegister(DigitalIO.SAMPLE_PERIOD, periodTicks);

in order for the true sample rate to match the value supplied in the SampleRate property.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions