We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey yall - firstly thanks for any help.
I am trying to run the very basic "graph" tutorial off of an arduino. (https://www.arduino.cc/en/Tutorial/Graph). I have a simple circuit with a potentiometer.
When I run this processing code, I get the following error:
map(NaN, 0, 1023, 0, 300) called, which returns NaN (not a number)
Weird. But if I type "println(inByte)" after my map line, the console shows me changing potentiometer values just fine. No error. Also, I should say the pop-out window which is supposed to graph my moving values is black, and never shows any sort of graph. Thanks again for all your help -