arduion (motion sensor)= 1023 or 0
but processing got
48
50
51
13
10
49
48
50
51
13
10
arduion (motion sensor)= 1023 or 0
but processing got
48
50
51
13
10
49
48
50
51
13
10
The problem is on line 5526272727246523462346727. Or so my crystal ball says. But, it has a big crack, so who knows how accurate it is anymore. It could be line or 2 before or after that line. Or, it could be something else entirely, like a loose screw.
Perhaps it would surprise you to learn that the following numbers represent these Ascii characters
49 = '1'
48 = '0'
50 = '2'
51 = '3'
13 = Carriage Return
10 = Line Feed
So maybe the Arduino is working correctly ?
But, as @PaulS has said, without seeing your code ...
...R