Help with LED component

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

Help with LED component

ソリューションへジャンプ
2,170件の閲覧回数
etolocka
Contributor I
Hi

I´m confused about the use of the LED component in the debugger (I have CW 5.0 Special Edition).

Can I show in this component the value of a port (e.g: PTA) using the leds while I simulate my code?

The help file says "In the text field, the user can specify which value should be displayed by the LED bar. The location is specified with a string in the form object.value"
What means "object.value"?

Thankfully,
Ernesto.
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
831件の閲覧回数
CrasyCat
Specialist III
Hello
 
LED component is a legacy component and I would not recommend using it if you are using HC08 Full Chip Simulator or Multilink/CyclonePro as connection. The component is not working with these connection.
Also it will not work if you are using a Special or Standard Edition of the software. This component is available only in professional edition software package.
 
In order to define a LED and make it display value of an I/O port, I would recommend you to use the Visualization Tool component.
You can add one or several LED Instruments. Each Instrument can be attached to a specific memory address and Bit number in the instrument properties.
 
This should do it.
 
CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
832件の閲覧回数
CrasyCat
Specialist III
Hello
 
LED component is a legacy component and I would not recommend using it if you are using HC08 Full Chip Simulator or Multilink/CyclonePro as connection. The component is not working with these connection.
Also it will not work if you are using a Special or Standard Edition of the software. This component is available only in professional edition software package.
 
In order to define a LED and make it display value of an I/O port, I would recommend you to use the Visualization Tool component.
You can add one or several LED Instruments. Each Instrument can be attached to a specific memory address and Bit number in the instrument properties.
 
This should do it.
 
CrasyCat
0 件の賞賛
返信
831件の閲覧回数
etolocka
Contributor I
Thank you CrasyCat, the Visualization Tools works fine.

The number of instruments is limited to 3. Can I change this value in the Special Edition?

Regards,
Ernesto.
0 件の賞賛
返信
831件の閲覧回数
CrasyCat
Specialist III
Hello
 
No you need to upgrade at least to Standard Edition to get an unlimited key for visualization tools component.
Please refer to the Buyers Guide on the CodeWarrior for HC08 product page for more information on differences between the different editions.
 
This document can be found at following URL for HC08:
 
CrasyCat
0 件の賞賛
返信