bvanheu / stratatools

Stratasys EEPROM tool
BSD 3-Clause "New" or "Revised" License
88 stars 40 forks source link

GPIO.4 mode to be changed from the default IN to OUT? #32

Closed hjjayakrishnan closed 5 years ago

hjjayakrishnan commented 7 years ago

Prior to $ sudo modprobe w1-gpio gpiopin=4 and $ sudo modprobe w1-ds2433, should the GPIO mode be set to OUT, by $ gpio mode 7 out ?

HaveBlueXST commented 7 years ago

No, you don't need to set mode on the pin prior to the modprobe commands, as the modules will take care of the pin configuration for you.