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.

22 lines
364B

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