1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Solved] Is there any sample C code for the relay modules running on Linux or MacOS-X

Discussion in 'Relay Modules' started by Rick, Mar 22, 2015.

Thread Status:
Not open for further replies.
  1. Rick

    Rick New Member

    Joined:
    Mar 22, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Pt Townsend, WA, USA
    Is there any sample C code for the relay modules running on Linux or MacOS-X.

    What sort of apps have people written for these modules? Could you post the code here?

    Thanks!
    Rick
     
  2. admin

    admin Administrator Staff Member

    Joined:
    Jan 23, 2015
    Messages:
    169
    Likes Received:
    11
    Trophy Points:
    18
    Hi Rick,

    We do acknowledge the fact that the lack of Linux/Mac sample code is really a big issue as the number of people who use is growing quite fast. Now that we have a bunch of code available for Windows, will start focusing on Linux and Mac next. It may take a few weeks for us to build, test and publish the code but it certainly will happen. the following link has a C code that was contributed by another user which could be used as a starting point at this time.

    http://192.254.231.171/productdoc/usbrelay/ReadUSB.tgz

    The second question wasn't very clear. Are you looking for any ready made apps that others have written to go with these modules ?

    Thanks,
    Tom
     
  3. Rick

    Rick New Member

    Joined:
    Mar 22, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Pt Townsend, WA, USA
    Thanks, Tom, for the quick reply!

    The second question was looking for creative suggestions for interesting ways to use the relay modules and suggesting that ideas along those lines be shared with other users. It was also a suggestion that other user's code, if it could be shared, might be a good starting place for my own applications.
    Rick
     
  4. admin

    admin Administrator Staff Member

    Joined:
    Jan 23, 2015
    Messages:
    169
    Likes Received:
    11
    Trophy Points:
    18
    Hello Rick, I apologize for delayed response this time. Some users have publishes some info about the projects they have done with GPIO/Relay boards but not many people seem to have posted any source code. Part of the problem is that a lions share of the GPIO/Relay devices we sell are used by companies who may not be willing to publish the code. But when it comes to FPGA boards, it is different. There are a lot of bloggers who have posted a lot of projects using the FPGA board. This may be because we have some FPGA products specifically made for learning and hobby purpose.

    Anyway, I just found the following links online.



    http://sdizdarevic.com/post/80250838750/sparrowboard-1450-numato-getting-started
    http://scada.altonalab.com/index.php/en/descriptions-of-the-functional-blocks/numato-library
     
Thread Status:
Not open for further replies.

Share This Page