@node-pigpio/highlevel
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

@node-pigpio/highlevel

Usage

import { outputDevices, usingAsync } from '@node-pigpio/devices'

import LED = outputDevices.LED
;(async () => {
  await usingAsync(await LED(22, false), async (led) => {
    await led.blink({ onTime: 1000, offTime: 1000, repeat: 5 })
  })
})()

Package Sidebar

Install

npm i @node-pigpio/highlevel

Weekly Downloads

0

Version

0.2.4

License

ISC

Unpacked Size

37.6 kB

Total Files

26

Last publish

Collaborators

  • satoren