Congratulations, none of you actually answered the question…
I haven’t seen a #tutorials about this and I had to learn on my side. Here’s the video I used, you may need to watch it multiple times because it’s a lot to take in only 6 min.
If you want to use them in IF, you set the NDB and don’t change the heading. Then you set your bearing 1 or bearing 2 into ADF. It will then appear in your glass cockpit in place of the arrow or on the glass instrument itself on the C172.
Ask questions if I’m not clear enough, safe flying.