Yes, i did and it worked. Sorry for the stupid mistake 🙂
Altho i have another question regarding the Plotting of Uncalibrated Output using Mathematica.
In the guide it said "You will want to pipe the output to a file, which we will use for Mathematica."
From what I understand, i should run
sudo ./compass_tutorial01(uncalibrated compass) - copy the outputand save it as "rawdatauncalibrated.txt"
I have done that and saved the txt file in home/pi folder. But when i type:
pi@raspberrypi ~ $ sudo compass_tutorial01 > rawdatauncalibrated.txt it is telling
command not found. (see image)