mkmk19
Newbie level 1
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
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