Yes, that seems to be a do-it-yourself job, but can be made totally in software using a single interrupt at a frequency of about 100 * NumberOf Digits.
okay thanks bob!!!
when i am using psoc-1. There is a PRTxDR for digital output control.
can you tell me which Register i can use for digital ouput control on psoc-4??
i read whole manual but i cant find it clearly.
i got one register like this GPIO_PRTx_DR but it give me error in psoc-4.
error look like this: GPIO_PRTx_DR undeclared (first use in this function)
There is a 7-segment component for PSoC 5LP, but not for the 4.
Use a "Pin" component, name it "SevenSeg" and set the number of pins to 8 (7 segments + DP). Then you can use a single
SevenSeg_Write(Pattern) to set all pins with a single instruction. Similar for the digit selector.