Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

How to use "AdafruitPWM" FB in Codesys ?

yann2021
2021-04-19
2021-05-09
  • yann2021 - 2021-04-19

    Hello,

    I see there is a FB in the Codesys Library (look at the attached file).
    I can't find any help file about this FB.
    How can I use this FB?
    What is needed to each input?
    Why is there no output?

    In advance many thanks for your answers.

     
  • m.prestel - 2021-04-20

    In which library is this FB located?

    Best regards,
    Marcel

     
  • eschwellinger

    eschwellinger - 2021-04-20

    Hi,
    did you check the PI Examples:
    "c:\Users\<yourwindowsuser>\CODESYS Control for Raspberry PI\4.0.1.0\Examples\I2CExamples.project"
    You could use these board either with SoftMotion or without just use the FB.</yourwindowsuser>

    Best regards
    Edwin

     

    Last edit: eschwellinger 2021-04-20
  • yann2021 - 2021-05-09

    Hello,
    Many thanks for your answers. Here some more info about this FB and his internal code.
    Can somebody explain me what I need for the inputs and what I get on the output.
    I will look at the I2C example file again.

    Many thanks in advance.

     

    Last edit: yann2021 2021-05-09

Log in to post a comment.