24160-9/LM542L Display

Yes, the tutorial is for HD44780-compatible displays. Please follow all steps in the tutorial, especially the part where you hook up a potentiometer. Go step by step. If step n doesn't work, come ask questions here, don't bother trying step n+1.