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