accept configuration struct for ADC parameters (#1533)

This commit is contained in:
ardnew
2020-12-15 17:31:13 -06:00
parent 3d6921b0e1
commit 06f231468d
8 changed files with 371 additions and 64 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func InitADC() {
}
// Configure configures an ADC pin to be able to be used to read data.
func (adc ADC) Configure() {
func (adc ADC) Configure(ADCConfig) {
}
// Get reads the current analog value from this ADC peripheral.