Hello,
Hello, i can't get the DAC working, can someone help me with this? I have an ESP wroom 32. I have also included the led on the board in the program and it blinks. but have no change on the DAC ports.
DAC
-
- Posts: 14
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 15, 2020 6:16 pm
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1952
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 698 times
Re: DAC
Hello,
I've removed some of the code in your project and then it became apparent what the problem was. Currently you are outputting 250 but then almost immediatley outputting 0 again. You should instead have the second delay after the setoutput(250).
Let me know how you get on.
I've removed some of the code in your project and then it became apparent what the problem was. Currently you are outputting 250 but then almost immediatley outputting 0 again. You should instead have the second delay after the setoutput(250).
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1952
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 698 times
Re: DAC
Looks like the pin assignment might be off too, I'm on with fixing it now.
DAC1 is on pin GPIO25 and DAC2 is on GPIO26 which is the reverse of what we have now.
Edit. Should be sorted now via the update system.
DAC1 is on pin GPIO25 and DAC2 is on GPIO26 which is the reverse of what we have now.
Edit. Should be sorted now via the update system.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel