Sketch

Hello, I have an Arduino UNO and the sensor HMC5883L. Does anybody know a magnetometer sketch that I can make with these two?
Thank you

I don't, but I'll bet there's a library out there, with examples.

By entering the words " Arduino UNO sensor HMC5883L magnetometer sketch " into my favorite search engine I was able to obtain several useful results.

And which is your favourite search engine? thanks

DuckDuckGo, Google, take your pick!

dionisos52:
And which is your favourite search engine? thanks

This one.