MS9S12DT256 - Beginner question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MS9S12DT256 - Beginner question

658件の閲覧回数
tidusyuna88
Contributor I

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

ラベル(1)
0 件の賞賛
返信
1 返信

382件の閲覧回数
J2MEJediMaster
Specialist I

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

0 件の賞賛
返信