You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kjsembed/docs/examples/timer/timer.js

11 lines
173 B

#!/usr/bin/env kjscmd
var led = new KLed();
var timer = new TQTimer();
led.connect( timer, 'timeout()', 'toggle()' );
timer.start( 500 );
led.show();
application.exec();