pin_write

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jote_4373011
Level 1
Level 1

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

0 Likes
1 Solution

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

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes

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

0 Likes