Shop OBEX P1 Docs P2 Docs Learn Events
What is the MCP3208 DAC option? — Parallax Forums

What is the MCP3208 DAC option?

SRLMSRLM Posts: 5,045
edited 2013-07-18 08:45 in Propeller 1
I see in the MCP3208.spin file that it offers a DAC, but I don't know where this is coming from or how to use it. Can anybody shed some light on this?

Comments

  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-07-17 15:30
    SRLM wrote: »
    I see in the MCP3208.spin file that it offers a DAC, but I don't know where this is coming from or how to use it. Can anybody shed some light on this?

    Nothing to do with the MCP3208 itself but more to do with the fact that since you need to dedicate a cog (in Spin) to talk to the chip then it would seem a waste if the cog's two counters couldn't be used as DACs using the RC filter method, that's all.
  • SRLMSRLM Posts: 5,045
    edited 2013-07-18 08:45
    Thanks, that's exactly what I needed to hear. I tried it out with R=1kOhm and C=0.1uF and it worked well.
Sign In or Register to comment.