Home  >  Support  >  Support Forum  >  Writing data to parallel ports in RCM4000?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Writing data to parallel ports in RCM4000?

0 votes
Is it possible to write/move data from a memory location to a parallel port.If so,what is the required command for it other than
WrPortI(xxxx,xxxxshadow,value)
asked Mar 7 in Rabbit Software by AISWARYA RAJ New to the Community (1 point)

Please log in or register to answer this question.

1 Answer

0 votes
Hello Aiswarya,

Using the below API, you can set the internal I/O register with the 8Bit value

For example, if you use below
WrPortI(PEDR,&PEDRShadow,0x00);

It means you are setting the PEDR register with value zero.
this value reflects at the corresponding port E pins.
answered Mar 20 by cpigilam Veteran of the Digi Community (499 points)
Contact a Digi expert and get started today! CONTACT US
...