No, I was right. GPIO pin 4 is physical pin 7.

This commit is contained in:
James Harton 2020-01-16 13:20:20 +13:00
parent 71f11c80d5
commit cc797527da

View file

@ -274,7 +274,7 @@ defmodule Augie.Device.PCA9641 do
def bus_address, do: config() |> Keyword.get(:address, 0x70)
def interrupt_pin,
do: config() |> Keyword.get(:interrupt_pin, {Augie.IOPin.GPIO, :start_link, [7, :input]})
do: config() |> Keyword.get(:interrupt_pin, {Augie.IOPin.GPIO, :start_link, [4, :input]})
defp attached_devices do
bus_name()