Sam Zakhem

Can someone help me with codwarrior 5.9.0 syntax for mpc5121e processor?

Discussion created by Sam Zakhem on Feb 11, 2010
Latest reply on Mar 3, 2010 by Sam Zakhem

Hi,

 

I am new with the mpc5121e processor. I am trying to write a simple program that deals with I/O. The idea of my program is that whenever SW1 is On LED 2 turns On. My problem is that I never used C code for embedded systems so I am not sure how to configure the registers. Any help is very appreciated. Thank you.

Message Edited by bbjh1 on 2010-02-11 09:56 PM
Message Edited by bbjh1 on 2010-02-11 09:57 PM

Outcomes