Pushed it into a component:
See https://www.flowcode.co.uk/forums/viewtopic.php?t=3636
1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display
-
mnfisher
- Valued Contributor
- Posts: 2086
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 163 times
- Been thanked: 960 times
-
andeug
- Posts: 107
- Joined: Thu Jan 07, 2021 1:42 pm
- Location: Stockholm (SE)
- Has thanked: 37 times
- Been thanked: 6 times
Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display
Thank you for your support, Martin! I am experiencing some issues with the device's programming at the moment, using the ATMEL-ICE programmer, and I need to do further troubleshooting before working on the code. Also, note that I am using TPIC6B595 in my project, regarding which I commented in the link that you have posted above.
FC11 Professional + ARD + AVR + ARM license + Matrix TSL E-blocks2 boards
Mikroe Click boards + Arduino Nano/Uno Click Shield
Mikroe Click boards + Arduino Nano/Uno Click Shield
-
andeug
- Posts: 107
- Joined: Thu Jan 07, 2021 1:42 pm
- Location: Stockholm (SE)
- Has thanked: 37 times
- Been thanked: 6 times
Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display
Hi Martin,
You have helped me to solve my problem, thank you! I was able to build the proto board with the TPIC6B595 and the display I wanted, but my need is a bit different than only counting or displaying numbers.
I also want to display custom characters and the alphabet's letters in 7 segments, so I will need a flow code similar to the 7Segment (74HC595) component, which has:
ShowDigit -
ShowDigits -
ShowSegments -
The most wanted feature is ShowDigit, as I will use it as a reference to create a lookup table for characters and letters, since I currently have only one for numbers from 0 to 9.
Would it be possible to customize the enclosed example to work with what I need? (I do not know how to do it myself)
Andreas
You have helped me to solve my problem, thank you! I was able to build the proto board with the TPIC6B595 and the display I wanted, but my need is a bit different than only counting or displaying numbers.
I also want to display custom characters and the alphabet's letters in 7 segments, so I will need a flow code similar to the 7Segment (74HC595) component, which has:
ShowDigit -
ShowDigits -
ShowSegments -
The most wanted feature is ShowDigit, as I will use it as a reference to create a lookup table for characters and letters, since I currently have only one for numbers from 0 to 9.
Would it be possible to customize the enclosed example to work with what I need? (I do not know how to do it myself)
Andreas
- Attachments
-
- ShiftReg.fcfx
- (22.34 KiB) Downloaded 19 times
FC11 Professional + ARD + AVR + ARM license + Matrix TSL E-blocks2 boards
Mikroe Click boards + Arduino Nano/Uno Click Shield
Mikroe Click boards + Arduino Nano/Uno Click Shield
-
andeug
- Posts: 107
- Joined: Thu Jan 07, 2021 1:42 pm
- Location: Stockholm (SE)
- Has thanked: 37 times
- Been thanked: 6 times
Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display
Hi Martin,
I figured out how your component works, and I can confirm to the community that it's designed for the TPIC6B595.
Andreas
I figured out how your component works, and I can confirm to the community that it's designed for the TPIC6B595.
Andreas
- Attachments
-
- TPIC6B595 - Display 1504 example.fcfx
- (9.89 KiB) Downloaded 6 times
-
- TPIC6B595 - Count 1.23.fcfx
- (22.34 KiB) Downloaded 6 times
-
- TPIC6B595 - Count 0.001.fcfx
- (10 KiB) Downloaded 6 times
FC11 Professional + ARD + AVR + ARM license + Matrix TSL E-blocks2 boards
Mikroe Click boards + Arduino Nano/Uno Click Shield
Mikroe Click boards + Arduino Nano/Uno Click Shield