Nothing extra was connected during my tests. For the circuit in lecture 6, I followed the professor’s setup exactly as shown, using the same scope-analog example code. The only addition I made was a printf("%f", gIn1); line in the render() function to print the analog input values for debugging.
Here’s what I observed:
No matter how I adjusted the potentiometers, gIn1 always read 0.999985.
I then disassembled the circuit and tested with just the analog pin.
Connecting GND to pin 0 (gIn1 in code) gave the same result: 0.999985.
Connecting 3.3V to the pin also returned 0.999985.
It seems like the analog input is always reading as if the voltage is at or above 4.096V, regardless of the actual input.
I’ve attached pictures of my Bela cape, along with shots of the setup when I connected GND and 3.3V directly to the input.
What do you think might be causing this? Thanks for your help!