Question

     I have been working with the Digilent analog shield for quite some time now, and initially, using its functions was an easy task and calling analog.read and analog.write in my main loop presented no trouble.

     Fast forward to today, every time I have called analog.write(the only analog shield function i need) in my main loop code, it seems to fail. The code function is called in a large menu setup and the code isn't the cleanest, but I have put in print statements both before and after the code is called. Both statements are printed in the Serial monitor, ensuring that the arduino is certainly reading the analog.write code, but whenever i test a channel, the output does not change from what was initially written out in the code's setup function.  if someone could describe what is happening, that would be grand. please help.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @fvandal,

Could you post your code? Are you still able to run the passthrough demo? What is the error you see?

thank you,

Jon

Edited by jpeyron

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now