5 Replies Latest reply on Apr 17, 2016 7:54 AM by user_342122993

    Making a component - help

    piotr.borowy

      Hi.

         

       

         

      I've got two problems about making components:

         

      1. In my design I use Digital Input terminal, and I want to use on this input function PIN_Read(); How can I do that? Using this Digital Input Terminal (this green with an arrow), program isn't see this as a GPIO which Ican manipulate.

         

      2. On *.h file when I use standard formula:

         

      #ifndef(`$INSTANCE_NAME`_H)
          #define `$INSTANCE_NAME`_H
      #endif
       

         

      I got an error: Build error: macro names must be identifiers. After commenting it it works as it should be. Is this line important?