Help with LED component

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with LED component

Jump to solution
2,217 Views
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.
Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
878 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
879 Views
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 Kudos
Reply
878 Views
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 Kudos
Reply
878 Views
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 Kudos
Reply