Smart Port | Wave POD |
waveloop_10 ; 1 MHz SQ wave, duty cycle 2/3 movlw 179 ; Vout is +1V (with OP-AMP) movwf PORTB ; put to the DAC nop nop l_101 comf PORTB,f ; negate the DAC value nop ; pad comf PORTB,f ; and return the DAC to initial value goto l_101 ; and loop |
Copyright © 2023 BitScope Designs