RGB change when coordinates input

Hi there, so I'm wanting to make an interface where the user inputs the coordinates to a destination and the RGB LED will change colour telling you to travel north, south, east, west.

So far I have managed to get the RGB to change colour when moved around according to bearings with a magnetometer + potentiometer.

Could someone please help me?!

We need a lot more information. Basically your schematic and what code you have written so far.