Re: Using D for Raspberry Pi expirements

2019-10-02 Thread Dave Chapman via Digitalmars-d-learn
On Sunday, 29 September 2019 at 11:26:41 UTC, aberba wrote: On Thursday, 26 September 2019 at 17:26:25 UTC, Dave Chapman wrote: [...] your code... can you push it to GitHub so I can check it out? I haven't used GitHub or git. Is there some other way?

Re: Using D for Raspberry Pi expirements

2019-09-29 Thread aberba via Digitalmars-d-learn
On Sunday, 29 September 2019 at 16:26:48 UTC, Aldo wrote: On Sunday, 29 September 2019 at 11:36:00 UTC, aberba wrote: On Thursday, 26 September 2019 at 00:09:30 UTC, Mike Franklin wrote: [...] I have no idea how to do that from D. Any help/resources on that? Maybe you can use this dub pack

Re: Using D for Raspberry Pi expirements

2019-09-29 Thread Aldo via Digitalmars-d-learn
On Sunday, 29 September 2019 at 11:36:00 UTC, aberba wrote: On Thursday, 26 September 2019 at 00:09:30 UTC, Mike Franklin wrote: On Wednesday, 25 September 2019 at 23:56:45 UTC, aberba wrote: I'm looking for resources on using D for basic Raspberry Pi programming...stuff like turning on and off

Re: Using D for Raspberry Pi expirements

2019-09-29 Thread Mike Franklin via Digitalmars-d-learn
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 th

Re: Using D for Raspberry Pi expirements

2019-09-29 Thread aberba via Digitalmars-d-learn
On Thursday, 26 September 2019 at 00:09:30 UTC, Mike Franklin wrote: On Wednesday, 25 September 2019 at 23:56:45 UTC, aberba wrote: I'm looking for resources on using D for basic Raspberry Pi programming...stuff like turning on and off an LED light. I believe it requires being able to call the

Re: Using D for Raspberry Pi expirements

2019-09-29 Thread aberba via Digitalmars-d-learn
On Thursday, 26 September 2019 at 17:26:25 UTC, Dave Chapman wrote: On Thursday, 26 September 2019 at 00:10:40 UTC, aberba wrote: [...] I've been using https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ . It is a C library written by Bartosz Golaszewski. He is actively working on it

Re: Using D for Raspberry Pi expirements

2019-09-26 Thread Dave Chapman via Digitalmars-d-learn
On Thursday, 26 September 2019 at 00:10:40 UTC, aberba wrote: On Wednesday, 25 September 2019 at 23:56:45 UTC, aberba wrote: I'm looking for resources on using D for basic Raspberry Pi programming...stuff like turning on and off an LED light. I believe it requires being able to call the Raspber

Re: Using D for Raspberry Pi expirements

2019-09-25 Thread aberba via Digitalmars-d-learn
On Wednesday, 25 September 2019 at 23:56:45 UTC, aberba wrote: I'm looking for resources on using D for basic Raspberry Pi programming...stuff like turning on and off an LED light. I believe it requires being able to call the Raspberry OS core APIs from D as available in Python. Just found th

Re: Using D for Raspberry Pi expirements

2019-09-25 Thread Mike Franklin via Digitalmars-d-learn
On Wednesday, 25 September 2019 at 23:56:45 UTC, aberba wrote: I'm looking for resources on using D for basic Raspberry Pi programming...stuff like turning on and off an LED light. I believe it requires being able to call the Raspberry OS core APIs from D as available in Python. Anyone here t

Using D for Raspberry Pi expirements

2019-09-25 Thread aberba via Digitalmars-d-learn
I'm looking for resources on using D for basic Raspberry Pi programming...stuff like turning on and off an LED light. I believe it requires being able to call the Raspberry OS core APIs from D as available in Python. Anyone here tried something like that using D?