Pigpio:在Raspberry Pi上使用Node.js进行快速GPIO,PWM,伺服控制,状态更改通知和中断处理-源码

上传者: 42101237 | 上传时间: 2021-02-02 20:36:10 | 文件大小: 885KB | 文件类型: ZIP
猪皮 包装器,可通过Raspberry Pi Zero,1、2、3或4上的Node.js启用快速GPIO,PWM,伺服控制,状态更改通知和中断处理。 目前,piggio Node.js模块和piggio C库都在Raspberry Pi 4 Model B上进行了实验。 Pigpio支持Node.js版本10、12、13、14和15。 内容 产品特点 数字IO 每秒高达350万次数字读取*) 每秒高达250万次数字写入*) GPIO 0至31中的任意一个上的PWM 支持多种频率和占空比范围 GPIO 0到31任意一个上的伺服控制无抖动 当GPIO 0到31中的任何一个状态改变时发出警报状态更改的时间精确到几微秒 通知流,用于同时监视GPIO 0到31中任何一个的状态变化状态更改的时间精确到几微秒 低延迟中断处理程序每秒处理多达20000次中断*) 作为一组操作的GPIO,最多可读取或写入32个GPIO 触发脉冲产生 上拉/下拉电阻器配置 产生GPIO电平变化的波形(时间精确到几微秒) *)在运行Raspbian Buster 2019-07-10的Raspberry P

文件下载

资源详情

[{"title":"( 67 个子文件 885KB ) Pigpio:在Raspberry Pi上使用Node.js进行快速GPIO,PWM,伺服控制,状态更改通知和中断处理-源码","children":[{"title":"pigpio-master","children":[{"title":".jshintrc <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 900B </span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"pigpio.cc <span style='color:#111;'> 28.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"History.md <span style='color:#111;'> 6.87KB </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"doc","children":[{"title":"global.md <span style='color:#111;'> 8.64KB </span>","children":null,"spread":false},{"title":"configuration.md <span style='color:#111;'> 7.44KB </span>","children":null,"spread":false},{"title":"notifier.md <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"gpiobank.md <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"troubleshooting.md <span style='color:#111;'> 794B </span>","children":null,"spread":false},{"title":"gpio.md <span style='color:#111;'> 15.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 12.86KB </span>","children":null,"spread":false},{"title":"pigpio.js <span style='color:#111;'> 11.99KB </span>","children":null,"spread":false},{"title":"example","children":[{"title":"servo.png <span style='color:#111;'> 124.22KB </span>","children":null,"spread":false},{"title":"waveform.js <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"wave-chain.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"alert.js <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"led-button.png <span style='color:#111;'> 226.78KB </span>","children":null,"spread":false},{"title":"button-debounce.png <span style='color:#111;'> 206.13KB </span>","children":null,"spread":false},{"title":"servo.js <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"distance-hc-sr04.png <span style='color:#111;'> 301.53KB </span>","children":null,"spread":false},{"title":"blinky.js <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"light-switch.js <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"distance-hc-sr04.js <span style='color:#111;'> 825B </span>","children":null,"spread":false},{"title":"gpio-info.js <span style='color:#111;'> 271B </span>","children":null,"spread":false},{"title":"button-debounce.js <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"pulse-led.js <span style='color:#111;'> 241B </span>","children":null,"spread":false}],"spread":false},{"title":"binding.gyp <span style='color:#111;'> 769B </span>","children":null,"spread":false},{"title":".npmignore <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"isr-enable-disable.js <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"pwm.js <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"waves.js <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"alert-pwm-measurement.js <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"alert-trigger-pulse-measurement.js <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"tick.js <span style='color:#111;'> 674B </span>","children":null,"spread":false},{"title":"gpio-mode.js <span style='color:#111;'> 670B </span>","children":null,"spread":false},{"title":"isr-timeouts-2.js <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"digital-write-performance.js <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"banked-leds.js <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"blinky-pwm.js <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"gpio-numbers.js <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"wave-chain.js <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"alert.js <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"notifier-pwm.js <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"notifier.js <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"terminate.js <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"trigger-led.js <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"do-nothing.js <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"run-tests <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"wave-add.js <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"isr-timeouts.js <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"blinky.js <span style='color:#111;'> 255B </span>","children":null,"spread":false},{"title":"light-switch.js <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"stress","children":[{"title":"notifier-leak-check.js <span style='color:#111;'> 838B </span>","children":null,"spread":false},{"title":"notifier-stress.js <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false}],"spread":false},{"title":"isr-multiple-sources.js <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"pulse-led.js <span style='color:#111;'> 530B </span>","children":null,"spread":false},{"title":"servo-control.js <span style='color:#111;'> 667B </span>","children":null,"spread":false},{"title":"hardware-revision.js <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"digital-read-performance.js <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"pull-up-down.js <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"gpio-glitch-filter.js <span style='color:#111;'> 879B </span>","children":null,"spread":false},{"title":"isr-performance.js <span style='color:#111;'> 728B </span>","children":null,"spread":false}],"spread":false},{"title":"pigpio.d.ts <span style='color:#111;'> 37.18KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明