Skip to content

Commit 06fa986

Browse files
authored
Merge pull request #5 from DenisaCG/blocks
Modified blocks structure
2 parents 2dc2e44 + be09c54 commit 06fa986

File tree

4 files changed

+260
-66
lines changed

4 files changed

+260
-66
lines changed

examples/circles-demo.jpblockly

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"blocks":{"languageVersion":0,"blocks":[{"type":"lego_boost_connect","id":"F*~S%zcX8kF{k[7S}B9S","x":194,"y":112,"icons":{"comment":{"text":"Make sure to add the bluetooth address of your own MoveHub! It can be found in the bluetooth settings of your laptop.","pinned":false,"height":80,"width":160}},"inputs":{"BLUETOOTH_ADDRESS":{"block":{"type":"text","id":"nz!unaesW8/eIfrWq=GE","fields":{"TEXT":"00:16:53:C3:C2:4F"}}}},"next":{"block":{"type":"lego_boost_move_motor_ab_timed","id":"giskII*kkt/ts0tN;,h3","inputs":{"TIME":{"block":{"type":"math_number","id":"`,IQ5,d2Vp@zad(jA3A@","fields":{"NUM":5}}},"SPEED_A":{"block":{"type":"math_number","id":"Z^92_4{XJMrhGz}BN{LS","fields":{"NUM":0.5}}},"SPEED_B":{"block":{"type":"math_number","id":"og3V~H[pF{{_c7og):y!","fields":{"NUM":0.9}}}},"next":{"block":{"type":"lego_boost_sleep","id":"i!aRd9DJ_(J]=d!~o2l4","inputs":{"SECONDS":{"block":{"type":"math_number","id":"ka^7f3$-T2kgdQTKzY8m","fields":{"NUM":1}}}},"next":{"block":{"type":"controls_repeat_ext","id":"3ys4koDsE(}`8WpZ~dVX","inputs":{"TIMES":{"shadow":{"type":"math_number","id":"]9ge*4HfsTal]WZKR9R%","fields":{"NUM":4}}},"DO":{"block":{"type":"lego_boost_move_motor_ab_timed","id":"gzX3fyeF8?65Ir+q]zYv","inputs":{"TIME":{"block":{"type":"math_number","id":"=(Ul1UquledMIkO;Q(qP","fields":{"NUM":1.1}}},"SPEED_A":{"block":{"type":"math_number","id":"h{d6$bKp2RN@j*PZh4XB","fields":{"NUM":-0.5}}},"SPEED_B":{"block":{"type":"math_number","id":"t~sP7m}{@14^Pu]PQ4+;","fields":{"NUM":-0.9}}}}}}},"next":{"block":{"type":"lego_boost_stop_motors","id":")$zW[#TMw@`EpXu*^[9[","next":{"block":{"type":"lego_boost_disconnect","id":"dPdr)2XfSZ1++W%IO399"}}}}}}}}}}}]}}

examples/demo.jpblockly

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"blocks":{"languageVersion":0,"blocks":[{"type":"lego_boost_connect","id":"F*~S%zcX8kF{k[7S}B9S","x":323,"y":67,"icons":{"comment":{"text":"Make sure to add the bluetooth address of your own MoveHub! It can be found in the bluetooth settings of your laptop.","pinned":false,"height":80,"width":160}},"inputs":{"BLUETOOTH_ADDRESS":{"block":{"type":"text","id":"nz!unaesW8/eIfrWq=GE","fields":{"TEXT":"00:16:53:C3:C2:4F"}}}},"next":{"block":{"type":"lego_boost_movement_forward","id":"4+*h;fU4;_8b;w*y40^c","inputs":{"TIME":{"block":{"type":"math_number","id":"IWC|PQD*)G,(]Y[Q{Tzb","fields":{"NUM":1}}},"SPEED":{"block":{"type":"math_number","id":"nyzs*Kk|:P%rdqRu0PpE","fields":{"NUM":0.5}}}},"next":{"block":{"type":"lego_boost_sleep","id":"jG}Y--{dZK4k;6AQNx%Z","inputs":{"SECONDS":{"block":{"type":"math_number","id":"/zL!7AnH`:fzDY+tqTXg","fields":{"NUM":1}}}},"next":{"block":{"type":"lego_boost_movement_rotate_360_left","id":";4c!y,3~tTR.}aPZ2g+z","next":{"block":{"type":"lego_boost_movement_backwards","id":"nPy(SC*3/)2IvR=C8|aG","inputs":{"TIME":{"block":{"type":"math_number","id":"buK-RC?%x+UTtALh9!q*","fields":{"NUM":1}}},"SPEED":{"block":{"type":"math_number","id":"*(iR(a61!O6(c[CdgS]2","fields":{"NUM":0.5}}}},"next":{"block":{"type":"lego_boost_stop_motors","id":")$zW[#TMw@`EpXu*^[9[","next":{"block":{"type":"lego_boost_disconnect","id":"dPdr)2XfSZ1++W%IO399"}}}}}}}}}}}}}]}}

examples/movement-example.jpblockly

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)