Comments (2)
from pigpio-client.
Yes, the implementation follows that pattern - those functions are already in your release version, so were easy to duplicate :).
The other implementation I saw was in one of the outstanding PRs, where the OP added a i2c 'class' similar to the gpio class. It's neater like that, but can easily be based on the first style anyway, so I'll focus on that.
For mine, I've successfully used
i2cWriteByteData
i2cReadByteData
i2cWriteWordData
i2cReadWordData
but
i2cWriteI2cBlockData
leads to a later error response from pigpiod, so i've not got it quite right.
Do you know if there is a way to log communications between pigs
and pigpiod - if so I could check the exact protocol used, and see what I'm doing wrong....
I'll PR at least the functions that work once I've used them for a while successfully.
I might also try exposing the request object so that such features could be added after the pigpio-client instance has been created.... which may help in development instead of modifying the library itself.
br,
Simon
from pigpio-client.
Related Issues (20)
- Process exits silently ... HOT 1
- Make hardware PWM work HOT 1
- Network error not handled HOT 55
- Error using waveform HOT 11
- I2C support HOT 24
- lower timeout - for connection monitor HOT 2
- AssertionError [ERR_ASSERTION]: Argument 'gpio' is not a user GPIO. HOT 7
- Notifications not working after network disconnect then reconnect. HOT 21
- can't set up pulldown resistor HOT 8
- make install error HOT 1
- Latest Installation Unit File In Git Is Wrong HOT 3
- SPI functionality HOT 10
- gpio.waveAddSerial() only supports 1 stop bit.
- Notify on only one edge HOT 10
- Can't use more than 11 pigpio.gpio() HOT 5
- Timing issues with pigpio-client HOT 1
- Correct way to destroy the instance? HOT 1
- writing and running pigpiod scripts? HOT 4
- timeout on first connect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pigpio-client.