Home/Support/Support Forum/cannot toggle portd & portc IO in rcm4000 using wrport cmd & I did read the docs & examples
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

cannot toggle portd & portc IO in rcm4000 using wrport cmd & I did read the docs & examples

0 votes
WrPortI(PDDCR, &PDDCRShadow, 0x00);

WrPortI(PDDDR, &PDDDRShadow, 0xFF);

WrPortI(PDDR, &PDDRShadow, 0xFF);

// this does not appear to work
asked Jul 2, 2015 in Rabbit Software by itworks New to the Community (1 point)
edited Jul 8, 2015 by itworks

Please log in or register to answer this question.

2 Answers

0 votes
Did you see the Knowledgebase article? Try using the example on this one if you haven't already tried it.

http://knowledge.digi.com/articles/Knowledge_Base_Article/Setting-up-digital-IO-in-Dynamic-C-for-Rabbit-4000-boards-and-newer
answered Jul 9, 2015 by Campbell Veteran of the Digi Community (703 points)
the link whcich you sent me has the very code that I posted initially ... which does not work. I am doing code on the dev board, would this be a problem?
0 votes
the link you sent me has the same code that I posted above... which it does not work. I am on the development board... would that cause a problem? I am not calling brdInit()
answered Jul 9, 2015 by itworks New to the Community (1 point)
...