robstave / ArduinoComponentSketches

Collection of sketches for ATTiny to replace logic blocks in lunetta like circuits
39 stars 9 forks source link

New feature: Turish sequencer #50

Closed robstave closed 1 month ago

robstave commented 2 years ago

Create a new sketch kinda sorta turing machine. in: bool: 8/16 length in: bool/clock: clock in: step: main variable. Really its an initial count for where to start in machine in analog: rand: randomness. Steps are constant....like LFSR + 50 clicks but rand might be prob of a +/1 on the step

Example : state machine set to x. each clock is x + 50.....but with a prob of that 50 being -/+ in a range. next step, if out of probability is really still 50+

out: pwm of the signal

robstave commented 1 month ago

see https://github.com/robstave/ArduinoComponentSketches/tree/master/ACS-85%20ATTiny85%20sketches/ACS-85-0630