It looks like you're new here. If you want to get involved, click one of these buttons!
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 -