Notices


Reply
Thread Tools
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#1
i wanna know if its possible to make a little application for custumize the led color/function


here i found a tip
http://xel.fi/blog/view/2/maemo-how-...he-led-on-n810

but iam just a simply user and iam very far noob for programing something for that...


the idea is to make an application for configure your own pattern of led whit all colors for differents purpose...

exemple... flash red led every 3 second for new mail instead the blue one...

or

flash green led every 5 second if you have a new rss feed

anyway...

its very suprising then nobody make a very good and improve application for manage and custumise as well all the LED possibility we can make it whit this LED signal

cheers

a dreamer
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock

Last edited by LABAUDIO; 2009-03-20 at 16:46.
 

The Following User Says Thank You to LABAUDIO For This Useful Post:
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#2
Look into editing /etc/mce/mce.ini
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#3
i dont talk about changing setting by changing code in some config file but a complete application to play and configure/custumised all led possibility

very very different think here

its like difference between using notepad for coding a webpage VS using a complete CS4 creative suite lol

but tx for regards...
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#4
Originally Posted by LABAUDIO View Post
i dont talk about changing setting by changing code in some config file but a complete application to play and configure/custumised all led possibility

very very different think here

its like difference between using notepad for coding a webpage VS using a complete CS4 creative suite lol

but tx for regards...
I plan to use the leds for this kind of stuff in some future project: I did some experiments with a flipclock app. cycling trough some colors, using led for a 'mood' mode, to notify the tap on the screen and show a partially dimmed red to remind that the clock is on:
http://www.internettablettalk.com/fo...ad.php?t=25582
the 1.2 is last version have the led things enabled: Jolouis toke over the coding now and he is fixing my cr8ppy code so he suspended the led features: U can take a look at the python source/scripts to check how I managed to change the led.
If you dont want bore installing it there is a youtube clip.
Happy weekend
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#5
Originally Posted by ciroip View Post
...
If you dont want bore installing it there is a youtube clip.
Happy weekend...
that so cool if someday a complete application be made it for make a different pattern whit led or an advanced setting application for manage more option we can make it whit led instead the default setting menu


TX bro
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock

Last edited by LABAUDIO; 2009-03-20 at 18:40.
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#6
Originally Posted by LABAUDIO View Post
that so cool if someday a complete application be made it for make a different pattern whit led or an advanced setting application for manage more option we can make it whit led instead the default setting menu

TX bro
...just because I collect flags on my blog world map and I need a canadian...

http://ciroip.blogspot.com/2009/03/flipclock013.html
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#7
Originally Posted by ciroip View Post
...just because I collect flags on my blog world map and I need a canadian...

http://ciroip.blogspot.com/2009/03/flipclock013.html
Iam a french canadian but not bad in english too


let me know if you need somethink more then a flag or how i can appears your first canadian lol
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock
 
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#8
Originally Posted by LABAUDIO View Post
i dont talk about changing setting by changing code in some config file but a complete application to play and configure/custumised all led possibility

very very different think here
So, what you really want is some kind of frontend application to edit mce.ini for you. Hmmm... I have spring break this weekend, maybe I'll look into whipping up something like this. No guarantees, though.
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#9
Originally Posted by TrueJournals View Post
So, what you really want is some kind of frontend application to edit mce.ini for you. Hmmm... I have spring break this weekend, maybe I'll look into whipping up something like this. No guarantees, though.
I tried the mce.ini approach but I felt a bit uncomfortable to modify a system file (and I did not find a lot of docs anyway). I eneded up with a bit more direct solution that probably works just for 1 OS version and 1 hardware model: in this specific case N810 with Diablo:
Code:
    set_mode("direct")
    value = "%X:%X:%X" % (ci.r,ci.g,ci.b)
    FILE = open("/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/color","w")
    FILE.write(value)
    FILE.close()
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 

The Following 2 Users Say Thank You to ciroip For This Useful Post:
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#10
I realize that you can make the LED blink without editing mce.ini, but this isn't what was requested. He wanted to change the LED patterns for different events. His example was making the red LED blink for a new e-mail instead of the blue one. As far as I'm aware, this requires editing mce.ini to change the new e-mail pattern to use the red LED instead of the blue LED. This is why I suggested just editing mce.ini in the first place -- a text editor is all that's needed.

Also, just scanning mce.ini, there seems to be some pretty good documentation in the file itself.
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 

The Following 3 Users Say Thank You to TrueJournals For This Useful Post:
Reply

Tags
led ligth


 
Forum Jump


All times are GMT. The time now is 06:56.