-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get a pack not defined error when using i2c API #15
Comments
me too |
Me too I2c (but I also see Wave) gives the same problem. Observing the code, the pack () function seems to act as a serializer that brings the character "I" and the flag 0 to become a vector which is then scanned by a Pi.jl function |
The only library worthy of being used to interface to the Raspberry I / O does not work for the I2C protocol, fundamental protocol, it causes the error, right in the opening of I2C, when I try to open I2C I get this message: i2 = PiGPIO.i2c_open (pi, 1,0x1e) I noticed that the program converts the corresponding python code reported in this link. the corresponding python code can be found here:
i2c_flags = 0 convert in: The struct-pack is described in this link
In julia In Julia there is an equivalent function a struct.pack(,Value) Now this is the problem, I would be delighted if the authors resolved it to allow the use of the I2C protocol. |
In the branch Maybe somebody wants to test it. If it does not work, knowing the python message send to the daemon, by adding a |
No description provided.
The text was updated successfully, but these errors were encountered: