Skip to content

Instantly share code, notes, and snippets.

@eydam-prototyping
Created February 16, 2021 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eydam-prototyping/c5fa7e187f1aaaa8964b5c03443a1c27 to your computer and use it in GitHub Desktop.
Save eydam-prototyping/c5fa7e187f1aaaa8964b5c03443a1c27 to your computer and use it in GitHub Desktop.
statemachine.py v3
...
return ep_statemachine.statemachine([s_cold, s_heatUp1, s_heatUp2, s_hot, s_toHot, s_muchToHot]), lambda: 1-pump_pin.value()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment