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

Raspberry PI MCP3008Temperature.project missing libraries?

bcouture
2020-04-09
2020-04-13
  • bcouture - 2020-04-09

    Hi all,

    I'm trying to get an SPI device working with codesys for the Raspberry PI, and I'm using the MPC3008 example as a template.

    I've just installed codesys 3.5.15.40, and then the codesys control for Raspberry PI 3.5.15.40 package.

    However, when I open the example MCP3008Temperature.project, I get 14 error messages about missing libraries --

    They are not (obviously) in the 3.5.15.40 PI libraries (I tried installing everything), and the library manager doesn't show anything
    for download missing libraries.

    Am I doing something wrong? Is the example broken?

    How do I get a working example so that I can understand and modify it?

    Thanks!

     

    Last edit: bcouture 2020-04-09
    • Ingo

      Ingo - 2020-04-10

      The project was created with a different version of the IDE with different
      installed devices. This is a common issue. The key actions are:

      • Update device (right click in the device tree)
      • Update missing libraries (in the library manager)
       
      πŸ‘
      2
      • bcouture - 2020-04-10

        Update device did the trick.

        Thanks!

         
      • bcouture - 2020-04-13

        A followup question -- when I was first looking through the MPC3008 example project, I was looking at the library source.

        Now, even if I open the un-updated project, I can't bring up the library source.
        How do I open it to examine it?

        Thanks!
        Bill

         
        • bcouture - 2020-04-13

          Nevermind. Of course I find it just after I ask the question...

           

Log in to post a comment.