Delay user code by 100ms to get sensor reading (fixes #90)

This commit is contained in:
Michal Moskal committed 2017-12-15 11:55:20 +00:00
1 parent 41d5052583
commit c7a3f5bbd0
2 files changed
+6 -1

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@
"description": "The EV3 library",
"files": [
"README.md",
"ns.ts"
"ns.ts",
"startup.ts"
],
"dependencies": {
"base": "file:../base",
+4
View File
@@ -0,0 +1,4 @@
// This is the last thing executed before user code
// We pause for 100ms to give time to read sensor values, so they work in on_start block
loops.pause(100)