robstave / ArduinoComponentSketches

Collection of sketches for ATTiny to replace logic blocks in lunetta like circuits or whatever.
40 stars 9 forks source link

Chances ACS-85-0612 ACS-85-0613 ACS-85-0614 #35

Closed robstave closed 3 years ago

robstave commented 3 years ago

Chances type module rand clock latch/toggle a b

standard deal like "chances"

do a second one though...chained clock rand stage1 rand stage2 outa' out b'

so chance + => stage A => Chance + => out A' => sink => stage B=> Chance + => out B' => sink

so sequence is from first internal stage either a or b and and a second stage linked prob that its a or b that way the output is not abbaaabababab but a--b-ab---abb--b no overlap chained chances

robstave commented 3 years ago

code submitted