Code: Select all
;--- Rate indicator
cho rdal, sin1
skp gez, LED_ON ;
sof 0, 0 ; set ACC to zero
wrax dacr, 0 ; LED off
skp zro, END_LED
LED_ON:
sof 0, 0.999
wrax dacr, 0 ; LED on
END_LED:
This gives me a square wave centered around 3V or so. Is there a way to create an output that alternates between 0V and some positive value to drive the transistor?
As an aside... This incidentally blinks the CLIP led, so that got me wondering if anyone has exploited that to use for a rate LED.