seven segment

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
chmoc_1567941
Level 4
Level 4

i want to make seven segment display with psoc-4.

   

is that any component available on psoc-4 which can fulfill this application???

   

or

   

i have to make it manually by api??

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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.

   

 

   

Bob

0 Likes
chmoc_1567941
Level 4
Level 4

okay thanks bob!!!

0 Likes
Anonymous
Not applicable

There is a 7-segment component for PSoC 5LP, but not for the 4.

0 Likes
chmoc_1567941
Level 4
Level 4

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)

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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.

   

 

   

Bob

0 Likes