You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
293B

  1. frame = 0
  2. def process(block):
  3. global frame
  4. frame += 1
  5. print(frame)
  6. # print(block)
  7. # block.switch_lights[:, 2] = 1
  8. print(block.inputs)
  9. print(block.outputs)
  10. print(block.knobs)
  11. print(block.switches)
  12. print(block.lights)
  13. print(block.switch_lights)
  14. print("===")
  15. print("Hello, world!")