Pushbutton switch stimulation using the special edition version

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Pushbutton switch stimulation using the special edition version

跳至解决方案
1,727 次查看
FC
Contributor III

Hello,

 

Just want to confirm that the special edition does not allow stimulation of a pushbutton or any switch connected to an I\O port.  I can toggle an LED using the graphical tools, but not a switch input.

 

Is there a way to stimulate an input using the special edition version?

 

Thanks

 

FC

标签 (1)
标记 (1)
0 项奖励
1 解答
652 次查看
CrasyCat
Specialist III

Hello

 

The Special edition only limits the number of instruments you can add in a visualization tool window.

It does not limit the functionality of the instruments.

 

I did try on a simple project and I can toggle a bit on POTA through a Switch Instrument.

Did you initialize the port direction register appropriately to allow input on that bit?

 

As you did not specify which version of CodeWarrior you are using I assumed you are using CodeWarrior for MCU V6.2.

 

CrasyCat

在原帖中查看解决方案

0 项奖励
2 回复数
652 次查看
FC
Contributor III

Hello again,

 

I have the read the posts similiar to this topic, but they discuss simulating KBI interrupts.  For a polling application, can a switch component change the input value on a pin?

 

Thanks 

0 项奖励
653 次查看
CrasyCat
Specialist III

Hello

 

The Special edition only limits the number of instruments you can add in a visualization tool window.

It does not limit the functionality of the instruments.

 

I did try on a simple project and I can toggle a bit on POTA through a Switch Instrument.

Did you initialize the port direction register appropriately to allow input on that bit?

 

As you did not specify which version of CodeWarrior you are using I assumed you are using CodeWarrior for MCU V6.2.

 

CrasyCat

0 项奖励