Ben, can you please post your complete project so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
The name of the component is "TRIGGER", not "Pin_TRIGGER".
So the API TRIGGER_Write() will access your pin component.