Hello,
I am having an issue with the ADC on a Teensy 3.2. I currently am using the DAC, have potentiometers on all the other analog lines, and have LEDs off 8 of the digital lines. I am using Arduino IDE 1.6.5 and Teensyduino 1.2.5.
When I do a test with my setup without Mozzi using analogRead, I can read the potentiometers fine. However, when I change the test to use Mozzi and mozziAnalogRead, I get either 2048, 0, or things like 286265102 as the value.
Can anyone see what I'm doing wrong here? I attached the two test programs (non_mozzi_pot_test is without Mozzi and uses analogRead, sensor_read_test uses Mozzi and mozziAnalogRead).
Thanks!
-Ben
--
You received this message because you are subscribed to the Google Groups "Mozzi-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozzi-users...@googlegroups.com.
To post to this group, send email to mozzi...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mozzi-users/c25aa63f-a028-47fe-96ba-01f5bb78332b%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mozzi-users/ab520219-d7c3-4ff6-bf7b-72582291bbe6%40googlegroups.com.