You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the --input option to toggle MCU pins to get pin change interrupts. It looks like that an input file asserting a pin low works for only 1 cycle (1us @ 1MHz) before the pullup resistor overpowers it. In other words, it looks like _avr_vcd_input_timer in simavr sets the value but the next timestep simavr "forgets" that there is an external logic-low input and sets the pin high because of the pullup.
The text was updated successfully, but these errors were encountered:
I tried to use the --input option to toggle MCU pins to get pin change interrupts. It looks like that an input file asserting a pin low works for only 1 cycle (1us @ 1MHz) before the pullup resistor overpowers it. In other words, it looks like _avr_vcd_input_timer in simavr sets the value but the next timestep simavr "forgets" that there is an external logic-low input and sets the pin high because of the pullup.
The text was updated successfully, but these errors were encountered: