Attachments are accessible only for community members.
Anonymous
Not applicable
May 30, 2015
12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 30, 2015
12:31 PM
Hello
I am using the psoc UC that I have attached picture of.
My quistion. Can I use P1.1 and P1.0 as analog inputs? Right now I have set them up to be analog inputs only to check if the port is high or not (checking for a button to be pushed). Though it seems that it fails now and then, and I cant find a failure in the code, and worked long time with it. Is it wrong of me to check these ports for high or low using: "if (PRT1DR & pin1{}"?
Select: globalinodd
Drive: high z
Thanks in advance
Labels
- Labels:
-
PSoC 1
1 Reply