Confidential guide on numerology and astrology, based of GG33 Public information

McP3008.js
Ein Node.js -Modul zum Abfragen eines MCP3008 -Analog-/Digitalkonverters.
3 years
Works with Finder
0
Github Watches
6
Github Forks
23
Github Stars
mcp3008.js
A node.js module for interfacing the MCP3008 analog/digital converter.
The same instance of the module can control all eight channels on the converter.
Installation
$ npm install mcp3008.js
Usage
Here's a short example:
var Mcp3008 = require('mcp3008.js'),
adc = new Mcp3008(),
channel = 0;
adc.read(channel, function (value) {
doSomethingToValue(value);
});
Interface
Constructor
new Mcp3008([device]);
Device defaults to /dev/spidev0.0
.
Reading
instance.read(channel, callback);
This will read the value on channel
and send it to callback
.
Polling
instance.poll(channel, interval, callback);
This will read the value on channel
every interval
milliseconds and send it to callback
. Use instance.stop(channel)
to stop it.
Tear down
instance.close();
This will release the device and stop polling (if any).
相关推荐
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
I find academic articles and books for research and literature reviews.
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.
Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)
Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
Awesome MCP -Server - eine kuratierte Liste von Modellkontext -Protokollservern für Modellkontext
Reviews

user_aYRIlacv
As a dedicated user of mcp3008.js, I can confidently say that this library by fiskeben is an excellent tool for working with the MCP3008 ADC in Node.js. It simplifies the process and offers great documentation on GitHub. If you're looking for a reliable and straightforward way to interface with the MCP3008, this is the best solution available. Highly recommended!