Skip to content

andykarpov/PT2314

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PT2314

Arduino library to control PT2314 AKA ET2314 audio processor

Example usage:

PT2314 audioswitch;
setup() {
  Wire.begin();
  audioswitch.init();
  audioswitch.gain(1);  // +3.75dB gain
  audioswitch.channel(0); // 0-3 => channel 1-4
  audioswitch.volume(100); // default volume is 0, so you get nothing out of the output. 100 = full volume.
}

Useful snippets:

// FADE OUT
for (byte i=100; i>0; i=i-5) {
  audioswitch.volume(i);
  delay(20);
}

// FADE IN
for (byte i=0; i<=100; i=i+5) {
  audioswitch.volume(i);
  delay(20);
}

About

Arduino library to control PT2314 AKA ET2314 audio processor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages