mirror of
https://github.com/brendanhaines/Hohm-Phone.git
synced 2024-12-26 10:57:36 -07:00
increases speaker volume
This commit is contained in:
parent
f830cd2251
commit
aa1ed81a6f
|
@ -94,7 +94,6 @@ void setup() {
|
||||||
digitalWrite( LED_NO_SERVICE, HIGH );
|
digitalWrite( LED_NO_SERVICE, HIGH );
|
||||||
|
|
||||||
digitalWrite( GSM_RST, HIGH );
|
digitalWrite( GSM_RST, HIGH );
|
||||||
|
|
||||||
fonaSerial->begin(4800);
|
fonaSerial->begin(4800);
|
||||||
if (! fona.begin(*fonaSerial)) {
|
if (! fona.begin(*fonaSerial)) {
|
||||||
while (1); //fona didn't start
|
while (1); //fona didn't start
|
||||||
|
@ -105,8 +104,7 @@ void setup() {
|
||||||
startDialtone = true;
|
startDialtone = true;
|
||||||
lastActiveTime = millis();
|
lastActiveTime = millis();
|
||||||
|
|
||||||
digitalWrite( LED_BAT_LOW, LOW );
|
fona.sendCheckReply( F("AT+CLVL=100"), F("OK") ); // set dialtone volume
|
||||||
fona.sendCheckReply( F("AT+CLVL=20"), F("OK") ); // set dialtone volume
|
|
||||||
|
|
||||||
digitalWrite( LED_BAT_LOW, LOW );
|
digitalWrite( LED_BAT_LOW, LOW );
|
||||||
digitalWrite( LED_NO_SERVICE, LOW );
|
digitalWrite( LED_NO_SERVICE, LOW );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user