Merge pull request #32957 from park012241/master

Fix typo Issue at pigpio definition
This commit is contained in:
Mine Starks
2019-02-11 11:43:47 -08:00
committed by GitHub
+5 -3
View File
@@ -1,6 +1,8 @@
// Type definitions for pigpio 1.2
// Project: https://github.com/fivdi/pigpio
// Definitions by: ManerFan <https://github.com/manerfan>, erikma <https://github.com/erikma>
// Definitions by: ManerFan <https://github.com/manerfan>
// erikma <https://github.com/erikma>
// park012241 <https://github.com/park012241>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
@@ -72,9 +74,9 @@ export class Gpio extends NodeJS.EventEmitter {
/**
* Sets the GPIO level to 0 or 1. If PWM or servo pulses are active on the GPIO they are switched off.
* @param levle 0 or 1
* @param level 0 or 1
*/
digitalWrite(levle: number): Gpio;
digitalWrite(level: number): Gpio;
/**
* Sends a trigger pulse to the GPIO. The GPIO is set to level for pulseLen microseconds and then reset to not level.