mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #32957 from park012241/master
Fix typo Issue at pigpio definition
This commit is contained in:
Vendored
+5
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user