Using D for Raspberry Pi expirements

Mike Franklin slavo5150 at yahoo.com
Sun Sep 29 12:46:58 UTC 2019


On Sunday, 29 September 2019 at 11:36:00 UTC, aberba wrote:

> I have no idea how to do that from D. Any help/resources on 
> that?

You should be able to use the techniques at 
https://dlang.org/spec/interfaceToC.html to declare the C 
functions that you wish to use in your *.d source files, and 
then, when you compile, pass `-lpigpiod_if2` to the linker.

Mike


More information about the Digitalmars-d-learn mailing list