From 1e752904a0b78e4d2d367b4e3d5b3990b5be03a8 Mon Sep 17 00:00:00 2001 From: James Harton Date: Tue, 8 Oct 2019 14:29:03 +1300 Subject: [PATCH] Fix typo in docs. --- README.md | 2 +- lib/pca9685.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 106ca96..3947b37 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Add your device to your config like so: ```elixir config :pca9685, - devices: [%{%{bus: "i2c-1", address: 0x40}}] + devices: [%{bus: "i2c-1", address: 0x40}] ``` The properties `bus` and `address` are mandatory. You can optionally provide diff --git a/lib/pca9685.ex b/lib/pca9685.ex index ca85f49..917d43f 100644 --- a/lib/pca9685.ex +++ b/lib/pca9685.ex @@ -8,7 +8,7 @@ defmodule PCA9685 do Add your device to your config like so: config :pca9685, - devices: [%{%{bus: "i2c-1", address: 0x40}}] + devices: [%{bus: "i2c-1", address: 0x40}] The properties `bus` and `address` are mandatory. You can optionally provide `pwm_freq` which is the output frequency you'd like to set (in Hz) and