- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Forum users
I'm currently working on a psoc project that requires me to interface with an HC-sr04 ultrasonic distance sensor.
Now when i'm trying to write the code to trigger the sensor it keeps telling me that there is an undefined reference to 'Pin_TRIGGER_Write'
I've assigned the pin etc can some one tell me or point me to the right solution ?
Thanks in advanced and with best regards Ben
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The name of the component is "TRIGGER", not "Pin_TRIGGER".
So the API TRIGGER_Write() will access your pin component.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The name of the component is "TRIGGER", not "Pin_TRIGGER".
So the API TRIGGER_Write() will access your pin component.
Bob