mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 06:53:40 +00:00
accept configuration struct for ADC parameters (#1533)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user