Who made the compass that Nephi used to steer his ship to the promised land?

The Lord

And it came to pass that after they had bound me insomuch that I could not move, the compass, which had been prepared of the Lord, did cease to work. 1 Nephi 18:12