Closed bendavis78 closed 7 years ago
Just realized this is due to the fact that I didn't have sleep_cpu()
at the end of my program. For anyone else stumbling on this, include avr/sleep.h
, and call sleep_cpu()
at the end of main()
.
Ah, that was an easy one. You can also control-C, the VCD file should be flushed properly, if you used run_avr
I have the following C code:
I compiled a .hex with:
Then I tried run_avr, but it just freezes and does nothing: