Do you know if there are any project examples illustrating it?
If you right click a schematic component, pick "find example project",
for most components there is an example project that can be added
to existing project, or opened in a new workspace. But I am not
aware of example with a mux, which is pretty simple, just add it
and use APIs to switch channel, allow for settling time, and get A/D
For some examples, see
- http://www.cypress.com/?docID=34834 (uses the SAR ADC tough)
I think there is also an AppNote regarding using the multiplexer together with the DelSig ADC (which would include an example project), but I cannot find it right now.
Thank you soo much for the help again Dana. It Mux works perfectly :) and was very easy to setup :)
I answered a bit to quick.. I have one error left in my program.
I can choose a channel in the mux but when i have chosen it i cant switch to another one.
here is my example code.
hope you can spot my error :)
Design04.cywrk.Archive01.zip 313.3 K
just figured it out. its all good now. Printed the same variable twis. :)
You're welcome! Glad you figured it all out.