Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » LedLabel new package
Re: LedLabel new package [message #42480 is a reply to message #42477] Tue, 18 March 2014 20:31 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Deep,

You are doing excelent job. But is there possibility to create procedural led painting? It will help a lot... Code sample:

class LedLable {
public:
    LedLable(const Color& ledColor) {
        this->ledColor = ledColor;
        // Do something with ledColor information.
    }

private:
    Color ledColor;
}

LedLable myLedLable(Color(0, 255, 0)); // <- Any color should be accepted here.


The second idea is to create array of leds (Similar sollution is implemented in LabView). More information you can find on following website: http://www.pererikstrandberg.se/blog/index.cgi?page=LabviewS impleForAndWhileLoops (First screenshot).

BTW, you can create whole package "LedCtrlLib" which will contain whole LED stuff. Think about it!

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Tue, 18 March 2014 20:36]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp package binding for LLVM/Clang library (libclang)
Next Topic: VLCPlayer compile only with libvlc v. 1.1.10 and later
Goto Forum:
  


Current Time: Fri Apr 26 14:59:44 CEST 2024

Total time taken to generate the page: 0.03226 seconds