Skip to content

Handle button interrupts in epicardium + Add button callbacks to pycardium

Woazboat requested to merge Woazboat/firmware:woazboat/pb_pycardium into master

Depends on/includes !73 (merged)

Parameter passing from core0 to core1 is very ad-hoc and could/should be improved in the future (related to #35)

Shortcomings in micropython:

  • Scheduled callbacks are not processed while sleeping (utime.sleep)
  • Only one callback is processed per python statement (?)
while True:
  utime.sleep(1) # Only one queued callback event will be handled per loop iteration

Merge request reports