Skip to content

Commit

Permalink
Update AIRDOS04.ino
Browse files Browse the repository at this point in the history
Increase volume. #27
  • Loading branch information
kaklik authored Mar 29, 2024
1 parent 13b015c commit be64535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fw/AIRDOS04/AIRDOS04.ino
Original file line number Diff line number Diff line change
Expand Up @@ -966,9 +966,9 @@ void loop()
digitalWrite(DRESET, LOW); // L on CONV
uint16_t adcVal = SPI.transfer16(0x0000); // 0c8000 +/GND, 0x0000 +/-

if (adcVal>320) digitalWrite(BUZZER, HIGH); // buzzer click on ADC conversion.

adcVal >>= 6;

if (adcVal>5) digitalWrite(BUZZER, HIGH); // buzzer click on ADC conversion.
if (histogram[adcVal]<255) histogram[adcVal]++;
digitalWrite(DRESET, HIGH);

Expand Down

0 comments on commit be64535

Please sign in to comment.