We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53a7e06 commit b9e99f1Copy full SHA for b9e99f1
src/lib/ruby-generator/ev3.js
@@ -37,5 +37,11 @@ export default function (Generator) {
37
return `ev3_motor_turn_this_way_for(${port}, ${time})\n`;
38
};
39
40
+ Generator.ev3_motorTurnCounterClockwise = function (block) {
41
+ const port = Generator.valueToCode(block, 'PORT', Generator.ORDER_NONE) || null;
42
+ const time = Generator.valueToCode(block, 'TIME', Generator.ORDER_NONE) || null;
43
+ return `ev3_motor_turn_that_way_for(${port}, ${time})\n`;
44
+ };
45
+
46
return Generator;
47
}
0 commit comments