We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b07e03c commit 10071d5Copy full SHA for 10071d5
cores/arduino/sdk/core-implement/CommonAnalog.cpp
@@ -150,7 +150,7 @@ int analogReadVSS( void ){
150
void indexAnalogWrite(pin_size_t index, int val){
151
// todo: replace with mbed "PwmOut" functionality
152
153
- pin_size_t pinNumber = pinNumberByIndex(index);
+ pin_size_t pinNumber = pinNameByIndex(index);
154
if(pinNumber == (pin_size_t)NC){ return; }
155
ap3_gpio_pad_t pad = pinNumber;
156
0 commit comments