Adding send interval delay to setMotorDirection opcode.

This commit is contained in:
Evelyn Eastmond 2019-04-22 12:17:47 -04:00
parent 26e6d25325
commit 9a60d10190

View file

@ -1856,7 +1856,11 @@ class Scratch3BoostBlocks {
}
}
});
return Promise.resolve();
return new Promise(resolve => {
window.setTimeout(() => {
resolve();
}, BoostBLE.sendInterval);
});
}
/**