Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marclura authored Apr 21, 2023
1 parent bcffafd commit 4bb588f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# PT2258-Arduino-Library
Arduino Library to control the 6-Channel Electronic Volume Controller PT2258

## PT2258 address
## Setup

### PT2258 address

(1: connected to VCC, 0: connected to GND)

Expand All @@ -27,14 +29,14 @@ If you need to change it, crete the PT2258 object like this:
Example: `PT2258 myPT2258(0x84);`


## Wire connection
### Wire connection
The PT2258 is specified to work with a bus clock speed of 100kHz max.

Add `Wire.setClock(100000);` in the sutup before calling the begin() funtion for
the PT2258.


## Mute
### Mute
The PT2258 has the mute on all the channels activated by default when it does power
up as a safety measure.

Expand All @@ -43,7 +45,7 @@ When the mute is active, even if the volume is changed, the channels will remain
Remember to deactivate the mute to ear the sound.


## Initial volume
### Initial volume
The PT2258 has the volume of all the channels at the maximum when it powers on (and the mute active as well, see "Mute" above).


Expand Down

0 comments on commit 4bb588f

Please sign in to comment.