Page 1 of 1

Feature Requests

Posted: Sun May 03, 2026 11:35 pm
by sameh_philipp
Hello

Can you add a feature like as "Print Letter" to component macro 74hc595 7 segment ?

Thank You.

Sameh Philipp

Re: Feature Requests

Posted: Mon May 04, 2026 9:15 am
by mnfisher
It is relatively easy to do using the 'segments' function.

Have an array for the characters you need - not all characters are possible but a fair few are so use ASCII mapping (' ' (space) is 32, 'A' 65 etc) - and I would offset the index (use .c - 32 where .c is the character) as 0..31 are not 'printable'

Then you have .segments = char_set[.c -32] ChatGPT (or alternative) will generate the lookup table for you :-)

Martin

Re: Feature Requests

Posted: Mon May 04, 2026 3:09 pm
by sameh_philipp
hello mnfisher

thank you very much for your help, I appreciate so much,.

Regards..

Re: Feature Requests

Posted: Mon May 04, 2026 3:28 pm
by mnfisher
Have a play - see how you get on...

See https://www.flowcode.co.uk/forums/viewt ... 898#p21898 - where I do this for the MAX7219 7 segment display.

You could maybe 'borrow; the character set?

Martin