mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
33 lines
420 B
Arduino
33 lines
420 B
Arduino
|
//
|
||
|
// FILE: PT2314_demo.ino
|
||
|
// AUTHOR: Rob Tillaart
|
||
|
// PURPOSE: simple demo
|
||
|
// URL: https://github.com/RobTillaart/PT2314
|
||
|
|
||
|
|
||
|
#include "PT2314.h"
|
||
|
|
||
|
PT7314 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 --
|