Skip to content

Commit 85c05e9

Browse files
committed
Merge pull request #647 from Links2004/esp8266
add parameter names to Arduino.h
2 parents a0172dd + 4c26729 commit 85c05e9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cores/esp8266/Arduino.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ void initVariant(void);
191191

192192
int atexit(void (*func)()) __attribute__((weak));
193193

194-
void pinMode(uint8_t, uint8_t);
195-
void digitalWrite(uint8_t, uint8_t);
196-
int digitalRead(uint8_t);
197-
int analogRead(uint8_t);
194+
void pinMode(uint8_t pin, uint8_t mode);
195+
void digitalWrite(uint8_t pin, uint8_t val);
196+
int digitalRead(uint8_t pin);
197+
int analogRead(uint8_t pin);
198198
void analogReference(uint8_t mode);
199-
void analogWrite(uint8_t, int);
199+
void analogWrite(uint8_t pin, int val);
200200
void analogWriteFreq(uint32_t freq);
201201
void analogWriteRange(uint32_t range);
202202

@@ -210,8 +210,8 @@ unsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout);
210210
void shiftOut(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder, uint8_t val);
211211
uint8_t shiftIn(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder);
212212

213-
void attachInterrupt(uint8_t, void (*)(void), int mode);
214-
void detachInterrupt(uint8_t);
213+
void attachInterrupt(uint8_t pin, void (*)(void), int mode);
214+
void detachInterrupt(uint8_t pin);
215215

216216
void setup(void);
217217
void loop(void);

0 commit comments

Comments
 (0)