Page 1 of 1

SparkFun Serial 7 Segment Display

Posted: Wed Jan 16, 2013 1:10 pm
by support
If anyone's interested we have just added support for these nice little LED displays:

SparkFun LED Display LR.jpg
SparkFun LED Display LR.jpg (68.93 KiB) Viewed 24431 times


Here a test project: http://www.dsprobotics.com/support/viewtopic.php?f=81&t=1143

Re: SparkFun Serial 7 Segment Display

Posted: Wed Jan 16, 2013 9:47 pm
by trogluddite
Hmm, that does look rather handy actually.

I'm hacking apart an XBox controller to make some stomp pedals for my guitar FX (with FS acting as the Xbox->MIDI interface, naturally), but was wondering what to do for a patch number display. Looks like I just found a very simple solution! :)

Re: SparkFun Serial 7 Segment Display

Posted: Mon Jan 21, 2013 7:29 am
by infuzion
Hey support, why do you use all those extraneous Float, String, & Int primitives all over the place please?

Re: SparkFun Serial 7 Segment Display

Posted: Wed Jan 23, 2013 4:42 am
by infuzion
infuzion wrote:Hey support, why do you use all those extraneous Float, String, & Int primitives all over the place please?
Urm, anyone? Why have inline primitives like that please?

Re: SparkFun Serial 7 Segment Display

Posted: Wed Jan 23, 2013 4:53 am
by alexalthauser
Very cool! I am looking forward to using that in my next project. Could you show it hooked up to the flowboard? I am wondering if it is much easier, more complicated, or about the same.. :shock:

Re: SparkFun Serial 7 Segment Display

Posted: Wed Jan 23, 2013 1:43 pm
by support
infuzion wrote:
infuzion wrote:Hey support, why do you use all those extraneous Float, String, & Int primitives all over the place please?
Urm, anyone? Why have inline primitives like that please?


It's just for visual error checking whilst developing. Once running in an EXE or at GUI level they have no CPU load.

Re: SparkFun Serial 7 Segment Display

Posted: Fri Jan 25, 2013 4:15 am
by infuzion
support wrote:
infuzion wrote:
infuzion wrote:Hey support, why do you use all those extraneous Float, String, & Int primitives all over the place please?
Urm, anyone? Why have inline primitives like that please?
It's just for visual error checking whilst developing. Once running in an EXE or at GUI level they have no CPU load.
Thanks for the reply.
I was thinking more of a memory allocation issue; don't each of those use a new pointer? & doesn't all the ins have to check for multi-line addition?

Plus, there is a file-size increase. Perhaps small at first, but adds up when you have 100s of these things. I usually just NOT make the value-primitves as throughs, & delete them right away to save space & increase readability.

Re: SparkFun Serial 7 Segment Display

Posted: Mon Jan 28, 2013 5:46 pm
by support
Well yes there would be some impact in those areas but this is just a test project remember.

As you say you can strip out the excess when you're done testing.

Re: SparkFun Serial 7 Segment Display

Posted: Fri Feb 01, 2013 6:44 am
by infuzion
support wrote:Well yes there would be some impact in those areas but this is just a test project remember.
As you say you can strip out the excess when you're done testing.
I thought it was just for testing :)
But my point is, people will use this as an "authoritative" example on how it should be done, & mimic exactly for their own files.