Welcome to the forum.
Please read the first post in any forum entitled how to use this forum.
Can you please tell us your electronics, programming, Arduino, hardware experience?
Have you written any code before?
Try this I2C scanner to find the address of your DAC.
Thanks for your answer, yes i read the forum and learned how to use it. I Searched for something similiar to what i want but i couldn't find any related topics.
I am not asking for someone to write the code for me i just want some hints to start or to know which direction i should follow. i also heard about the I2C scanner to see which device register i have on my dac and found it out.
but i just need a hint on how to write a code to control this dac to produce for me a 0 .. 5 V so i can control my LDO. For sure i have to use the wire library for i2c communication and i have to define the dac register i have.
i don't have much exp in coding no. i programmed before only basic assignments in the uni. so i know the basic things of defining, declaration, using libraries and loops.
i am completly new to arduino and microcontroller stuff i am using this for the first time. i got my self a nano arduino and the dac i want and the wiring is not the problem i know how to connect the i2c connection and to put the pull up resistors and to use external chips for my vdd and vref and all of that stuff.
i just want a guide on how to write this code to control the dac so i can use it to drive my LDO.
lets say advanced electronics exp and zero exp with microcontrollers but i can read and write basic c codes.
Thanks alot again