diff --git a/coffemaker/coffemaker.fps b/coffemaker/coffemaker.fps new file mode 100644 index 0000000000000000000000000000000000000000..6ce05cc9fd792f52dfd07d880bd28721cca0c789 --- /dev/null +++ b/coffemaker/coffemaker.fps @@ -0,0 +1,15 @@ +SR(Set, Reset) +{ + !Result = Q + Result = Set * /Result + /Reset * Result +} + +MaxTime(Active, const Value, out_reg Count) +{ + !Result = Q + ! r = counter + (Counter = 0) = /Active + (counter += 1) = SM0.3 * (Counter < Value) ; SM_1HZ + Result = Active * (Counter < Value) + (Count = counter) +} \ No newline at end of file diff --git a/coffemaker/coffemaker.sps b/coffemaker/coffemaker.sps new file mode 100644 index 0000000000000000000000000000000000000000..f8290726559e2feb58fcb1ef73b67c4ef859e05e Binary files /dev/null and b/coffemaker/coffemaker.sps differ