- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i am new to this program and i wanted to know what is the function of pin_write
does pin_write(1) means it will set the pin on high?
and pin_write(0) set the pin on low
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
More about the PSoC4 GPIOs you can refer to below linker Application Note and Code examples:
https://www.cypress.com/documentation/application-notes/an86439-psoc-4-using-gpio-pins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the fascinating world of PSoCs!
You are quite right, Pin_Write() API is used to set (1) and reset (0) a pin.
Multiple pins on a single port can be set using a pattern that will set/reset more than one pin.
Right clicking on a pins component will open a menu from where you can open a complete datasheet.
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
More about the PSoC4 GPIOs you can refer to below linker Application Note and Code examples:
https://www.cypress.com/documentation/application-notes/an86439-psoc-4-using-gpio-pins