Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PSoC Pin assignment high or low

Status
Not open for further replies.

mkmk19

Newbie level 1
Joined
Nov 9, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
i use PSoC IC 29466 and i want to assign output pin to be high or low but when i
assign pin high the output voltage is (1.2-1.5 volt) not 5 volt and this is my code:

///////////////////////////////////////////////////////////////////////////////
#include <m8c.h> // part specific constants and macros
#include "PSoCAPI.h" // PSoC API definitions for all User Modules
#define test_port PRT0DR

void main()
{
// Insert your main routine code here.
while(1)
{
test_port = 0x01;
}
}
///////////////////////////////////////////////////////////////////////////////////////////

please anyone can help me please reply as fast as possible
 

PSoC Pin assignment

the pin 1.7 is on air or you conecy it to somewhere?

second the array is constant?

:p
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top