OttoDIY / blockly

Otto Blockly; a fully integrated graphical programming for any type of Arduino projects, including robots, ready to install in your computer, it works offline and also online
https://www.ottodiy.com/software
GNU General Public License v2.0
113 stars 80 forks source link

Timekeeping block breaks blocky #169

Open J-Wrobel opened 2 years ago

J-Wrobel commented 2 years ago

What is wrong:

Adding start a timekeeping in seconds block breaks whole project. Code stops updating in code view. Saving a file and opening it does not help. Deleting this block unfreezes code update.

How to reproduce:

  1. Open github.io or desktop ottoblocky
  2. Add Write digital pin 10 to 1
  3. Open code pane
  4. Add start a timekeeping in seconds
  5. Change pin in Write pin block to 0
  6. Notice code does not update
  7. Delete start a timekeeping in seconds
  8. Notice the code updated to value of 0 for the pin

Attached file with both blocks in project (change extension back to .block) blocklino1655406570671.bloc.txt