When you make a few different sketches, load and save them as seperate sketches.
The files in the 'tabs' belong to the same project.
Where did you find that LDByteReadI2C ? did you randomly pick code from the internet ?
Peter_n:
When you make a few different sketches, load and save them as seperate sketches.
The files in the 'tabs' belong to the same project.
Where did you find that LDByteReadI2C ? did you randomly pick code from the internet ?
Wow, did not know that. Ok, I put the code in a new window which worked and I loaded it onto the arduino. Then it kept sending this same thing to the serial monitor over and over again with the same numbers while I was moving and rotating the sensor.
Do you use a board like the Due or the Yun ?
Is that temperature okay ? 36 degrees is pretty hot.
Can you copy the code from that sketch again, perhaps you have changed something.