1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env kjscmd var led = new KLed(); var timer = new TQTimer(); led.connect( timer, 'timeout()', 'toggle()' ); timer.start( 500 ); led.show(); application.exec();