I am fairly new to nerves, I am searching for help with how to get a DS18B20 temperature sensor working. I see several projects out there using them, and a couple with information about how to enable 1-wire in a nerves project.
For example: Elixir Nerves for measuring temperature from a DS18B20 sensor on a Raspberry Pi · Carsten's Blog
All I can find seems pretty out of date, the instructions for enabling 1-wire seems to not apply to the version (1.7.0) of nerves that I’m using.
My specific question, how do I set up 1-wire and connect it to a specific gpio pin?
Any help or pointers is greatly appreciated.