Re: uBITX AGC - Adafruit TPA2016, A Success! #ubitx

Nick VK4PP
 

Also, need to add this new function to Adafuit library after the existing enableChannel function:

// Turn on/off Nosie Gate
void Adafruit_TPA2016::enableNoiseGate(boolean ng) {
 
  uint8_t setup = read8(TPA2016_SETUP);
  if (ng)
    setup |= TPA2016_SETUP_NOISEGATE;
  else 
    setup &= ~TPA2016_SETUP_NOISEGATE;
  
  write8(TPA2016_SETUP, setup);
}

Join BITX20@groups.io to automatically receive all group messages.