nim_wiringPiNim
nim_wiringPiNim copied to clipboard
SPI support, only wrapping of existing wiringpi functionality needed.
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
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
Hi @ThomasTJdev ! I'm absolutely up for doing the testing 😄👍
Best regards, Hugo Berg
Great! I will try to make it in week 38, unless I'm travelling with work. I'll let you know.
/Thomas
@Drummersbrother - Now it's your turn. Please see the the branch SPI.
echo $piSPISetup(1, 1)
echo $piSPIDataRW(1, char(1), 1)
@Drummersbrother - Have you tried the branch?
Hi! I'm sorry for the radio silence, I have been trying to compile nim on my raspberry pi zero w since the branch was created, and I have not been able to get the toolchain to work (no nimble, and compiling only works sometimes). Whilst I will retry compiling nim and its toolchain in the future, as of yet I'm not able to actually test the branch. I'm sorry for the inconvenience of having to wait for the testing ☹️.
Best regards, Hugo Berg.
17 okt. 2017 kl. 19:15 skrev Thomas T. Jarløv [email protected]:
@Drummersbrother - Have you tried the branch?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
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!
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 :) ?