Skip to content

Conversation

@squires
Copy link

@squires squires commented Jan 14, 2016

The pulse circuit had (most likely) undesired behavior when the circuit
was triggered while a pulse was active. The subsequent triggers would
unconditionally schedule tasks to turn off the signal after the pulse
length. So if another pulse started after the first pulse ended, but there
were additional triggers during the initial pulse, then the second pulse
would turn off early.

This commit adds a "repeated trigger" parameter to the pulse circuit.
The 3rd parameter is optional and defaults to "legacy" for the original
behavior. A value of "ignore" causes the circuit to ignore any triggers
while the pulse is active. A value of "extend" causes the circuit to cancel
the original task that would turn off the pulse and schedule a new one
(for the original pulse length).

The pulse circuit had (most likely) undesired behavior when the Circuit
was triggered while a pulse was active. The subsequent triggers would
unconditionally schedule tasks to turn off the signal after the pulse
length. So if another pulse started after the first pulse ended, but there
were additional triggers during the initial pulse, then the second pulse
would turn off early.

This commit adds a "repeated trigger" parameter to the pulse circuit.
The 3rd parameter is optional and defaults to "legacy" for the original
behavior. A value of "ignore" causes the circuit to ignore any triggers
while the pulse is active. A value of "extend" causes the circuit to cancel
the original task that would turn off the pulse and schedule a new one
(for the original pulse length).
On error, output zero. (Any number of pins set other than 1.)
…ddresses

Fixes bug that prevents readonly sram chips from being initialized. Probably
others as well.
PixelReceiver assumed that if there were no input pins then transmission
would always be 5 bits in length. Changed to use the length of the
transmission, up to a maximum of 5 bits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant