-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[P166] Add plugin GP8403 DAC Dual channel 0-10V #4952
[P166] Add plugin GP8403 DAC Dual channel 0-10V #4952
Conversation
Build: ESP_Easy_mega_20240124_collection_G_ESP32_4M316k_ETH Jan 24 2024 After flashing, I've immediately added the Output - GP8403 Dual-channel DAC 0-10V device. Next: connecting one DAC |
Not having the GPIOs for I2C set shouldn't crash the ESP, I'd assume that the crash is just an unhappy coincidence of some events. |
Yes, since I fixed the messed up I2C address, everything works as intended. |
Interval set to 0 means no interval. But I doubt it makes sense to do it this fast. |
Exactly what I think would be best. I need a feedback, only once it's changed. |
…feature/P166-Add-plugin-gp8403-dac-0-10V
…elect by address
…feature/P166-Add-plugin-gp8403-dac-0-10V
From a Forum request
Features:
<ch>
= output (channel) 0, 1 or 2 (both)gp8403,volt,<ch>,<value>
: Set the voltage in V (0..5.0/0..10.0) value to channelgp8403,mvolt,<ch>,<value>
: Set the voltage in mV (0..5000/0..10000) value to channel (resolution limited to 12 bit = 4096 steps)gp8403,range,<5|10>
: Set the range to 5V or 10V (both channels, hardware limitation/feature)gp8403,preset,<ch>,<name>
: Set the voltage from preset<name>
to channelgp8403,init,<ch>
: Set the initial voltage to channel[<taskname>#preset<X>]
: The configured preset<X>
value (range checked)[<taskname>#initial0]
: The configured initial output 0 value[<taskname>#initial1]
: The configured initial output 1 value[<taskname>#range]
: The configured range setting 5 or 10MAX
andCollection G
builds.Additional features:
default
value, instead of the first value in the list, so the list can be in numeric/natural orderTODO: