Build a digital compass
Turn a heading into a simple direction display.
Build or compare
Use the compass heading block and follow calibration prompts. Display N when the heading is near 0 or 360.
Test the result
Test outdoors away from large metal objects. Add E, S and W and test the boundaries.