AnsweredAssumed Answered

why use pin signals?

Question asked by Julian Cox on Feb 12, 2018
Latest reply on Feb 15, 2018 by Julian Cox

Almost all of the pins on my MC9s08 CPU are associated with a component (Processor Expert) and in the component properties I have given each one a pin signal. e.g. for Bit1.BitIO the pin signal is Button_1. How can I use the Pin Signal to make my code more readable? For example: - can I use "if (Button_1)....." instead of "if (Bit1.GetVal()).....". If the answer is no, what is the purpose of Pin Signals?

Outcomes