mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Merged the mbed releated targets into one source. Available targets: FRDM-K64f, Discovery-STM32F4, Discovery-STM32F429ZI, NUCLEO-STM32F4 JerryScript-DCO-1.0-Signed-off-by: Imre Kiss kissi@inf.u-szeged.hu
11 lines
152 B
JavaScript
11 lines
152 B
JavaScript
var check = 1;
|
|
|
|
function blink ()
|
|
{
|
|
var blk = (check > 8) ? 1 : 0;
|
|
led (0, blk);
|
|
check = (check >= 10) ? 1 : check + 1;
|
|
}
|
|
|
|
print ("blink js OK");
|