From a995ed8992c759761705910e5fc7ca2da1c5e9d2 Mon Sep 17 00:00:00 2001 From: James Harton Date: Wed, 1 Jan 2020 21:20:24 +1300 Subject: [PATCH] Use GPIO pin 4. --- augie/lib/augie/devices/pca9641.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augie/lib/augie/devices/pca9641.ex b/augie/lib/augie/devices/pca9641.ex index 5ce1795..6a1a64b 100644 --- a/augie/lib/augie/devices/pca9641.ex +++ b/augie/lib/augie/devices/pca9641.ex @@ -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()