mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
35 lines
450 B
C++
35 lines
450 B
C++
//
|
|
// FILE: PT2314_demo.ino
|
|
// AUTHOR: Rob Tillaart
|
|
// PURPOSE: simple demo
|
|
// URL: https://github.com/RobTillaart/PT2314
|
|
|
|
|
|
#include "PT2314.h"
|
|
|
|
// PT2413 pt;
|
|
// PT7314 pt;
|
|
PT7313 pt;
|
|
|
|
|
|
void setup()
|
|
{
|
|
Serial.begin(115200);
|
|
Serial.println(__FILE__);
|
|
delay(100);
|
|
|
|
pt.begin();
|
|
|
|
// do your settings
|
|
pt.setVolume(20);
|
|
pt.setAttn(15, 24); // shift the balance
|
|
pt.setLoudness(true);
|
|
}
|
|
|
|
|
|
void loop()
|
|
{
|
|
}
|
|
|
|
// -- END OF FILE --
|