I am the first time use freescale controller. I have a lot of question in my mind...
I want to use the switches integrated in the micro-controller module, SW1 and SW2 in my project... but I have absolutely no ideal how to use it. Do I have to use codewarrior to write code to activate it? How can I use it?
Thanks
There should be some sample code that accompanied your specific board. Usually this code flashes some LEDs on the board, but some might read switches. The board's documentation should explain what registers read the switch state, and what bits are involved in the register. Worst case, you might have to study the board's schematic to see what peripheral pins the switches are tied to.
---Tom