Skip to content
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

SPI support, only wrapping of existing wiringpi functionality needed. #1

Open
Drummersbrother opened this issue Sep 10, 2017 · 8 comments
Assignees

Comments

@Drummersbrother
Copy link

Hi!
I'm quite new to the nim language, but I've previously done some work with raspberry pi's and their SPI bus functionality. This library is exactly what I need for one of my projects, but it doesn't support the hardware SPI bus (feel free to correct me if I'm wrong about that).
I would therefore greatly appreciate if you could add procs for using the SPI bus (wiringPi reference here http://wiringpi.com/reference/spi-library/ ) to this library.

Best regards,
Hugo Berg

@ThomasTJdev
Copy link
Owner

Hey Hugo

I am glad to hear that the library can help you. You are correct - the library does not support SPI. I have not used SPI, and at the moment I do not have the possibility to test it.
I would therefore suggest, that I'll create a new branch here on Github with the code, e.g. named "SPI", and you'll do the real life testing?

If you up for that, I will try to add the support for SPI.

/Thomas

@Drummersbrother
Copy link
Author

Hi @ThomasTJdev !
I'm absolutely up for doing the testing 😄👍

Best regards,
Hugo Berg

@ThomasTJdev
Copy link
Owner

Great! I will try to make it in week 38, unless I'm travelling with work. I'll let you know.

/Thomas

@ThomasTJdev
Copy link
Owner

@Drummersbrother - Now it's your turn. Please see the the branch SPI.

echo $piSPISetup(1, 1)
echo $piSPIDataRW(1, char(1), 1)

@ThomasTJdev
Copy link
Owner

@Drummersbrother - Have you tried the branch?

@Drummersbrother
Copy link
Author

Drummersbrother commented Oct 17, 2017 via email

@ieatnerds
Copy link

I know this may be a couple months late, but I'll work on testing the branch in the next week or so. Hope I can be of some assistance!

@ThomasTJdev
Copy link
Owner

I know this may be a couple months late, but I'll work on testing the branch in the next week or so. Hope I can be of some assistance!

Any progress @ieatnerds :) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants