Digital LED ring Compass

I am new to arduino and programming. I am planning to make Digital compass using neo ring light (16) and hmc5883L sensor. I try to use some codes off the internet but they show errors. I wonder if anyone can help me to get them to work or help me write my own code. Below are the codes that I tried to use. https://github.com/G6EJD/HMC5883-Neopixel-ring-display https://brainy-bits.com/tutorials/find-your-way-using-the-hmc5883l/ Thanks for your help.

You have not told anyone enough about the errors you are seeing.

Are you using project hub or just the regular IDE ?

Post the errors and your code but please use CODE TAGS ( </> )