@dtex/mock-io
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -6,12 +6,9 @@ class PWM { | ||
constructor(opts) { | ||
return (async () => { | ||
console.log(opts.pin); | ||
this.pin = opts.pin; | ||
this.edge = (undefined === opts.edge) ? 0 : opts.edge; | ||
this.mode = opts.mode; | ||
this.onReadable = opts.onReadable; | ||
this.target = opts.target; | ||
this.resolution = 10; | ||
this.value = null; | ||
})(); | ||
this.pin = opts.pin; | ||
this.edge = (undefined === opts.edge) ? 0 : opts.edge; | ||
this.mode = opts.mode; | ||
this.onReadable = opts.onReadable; | ||
this.target = opts.target; | ||
this.resolution = 10; | ||
this.value = null; | ||
} | ||
@@ -18,0 +15,0 @@ |
{ | ||
"name": "@dtex/mock-io", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Mock file for TC-53 IO testing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3412
79