Vizier87
Active Member
Hi guys,
Is this correct?
Basically, what I'm trying to do is to display the same thing when I enter either a "p" or "P".
This goes like Display("PpPpP") and it goes about showing the same characters. However when used this, it doesn't work and the 7-segment display just omitted the entire character.
However, if it is like this:
It works just fine but I have to put only a small "p" in my string.
What did I miss?
Thanks.
Vizier87.
Is this correct?
Code:
case ('p'||'P'):
digit(0xce);
break;
Basically, what I'm trying to do is to display the same thing when I enter either a "p" or "P".
This goes like Display("PpPpP") and it goes about showing the same characters. However when used this, it doesn't work and the 7-segment display just omitted the entire character.
However, if it is like this:
Code:
case ('p'):
digit(0xce);
break;
What did I miss?
Thanks.
Vizier87.