Skip to content

Allow for synchrous DAC output #16

@caternuson

Description

@caternuson

Re this thread:
https://forums.adafruit.com/viewtopic.php?t=198312

Currently each channel is updated when it is set:

mcp4728.channel_a.value = 100
mcp4728.channel_b.value = 75
mcp4728.channel_c.value = 50
mcp4728.channel_d.value = 25

via this line:

self._dac._set_value(self) # pylint:disable=protected-access

Add capability and example to allow multiple channel values to be updated synchronously.

Maybe something similar to auto_write in NeoPixel/Dotstar usage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions