hello all, not sure if any one else who came over from code bender noticed differences in the way we need to write our code but I have found at least one, maybe more when I replace my leonardo. For example:
this cannot be nested. The solution is to break them out
int pitchin = map(AnalogRead(pitch_in),0,1023,0,25);
it compiles, but the results appear to link all the analog pins into one reading. I have tested with two and work when one value changes at a time, but when changed together results become the same when serial printing the values.
so I have found that this keeps the values independent
int p1 = AnalogRead(pitch_in)
int pitchin = map(p1,0,1023,0,25);
has any one else seen things like this?
thanks!