You are here

seven segment | Cypress Semiconductor

seven segment

Summary: 5 Replies, Latest post by Bob Marlowe on 30 Nov 2016 12:34 PM PST
Verified Answers: 0
Last post
Log in to post new comments.
Chirag Modesara's picture
User
102 posts

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??

user_1377889's picture
User
9583 posts

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

Chirag Modesara's picture
User
102 posts

okay thanks bob!!!

DWB
DWB's picture
User
1 post

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

Chirag Modesara's picture
User
102 posts

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)

 

user_1377889's picture
User
9583 posts

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

Log in to post new comments.