How to send the result of a count from the register TMR1 (used as counter in the pic 16f877A) to sevral output pins on the same pic?

Published: 14/11/2019
How to send the result of a count from the register TMR1 (used as counter in the pic 16f877A) to sevral output pins on the same pic?
Source: ELECTRONICS.STACKEXCHANGE.COM

I'm using a pic 16f877A with a D/A Converter (AD667) in order to transform the result of a count into a analogue output to use later, but i find my self incapable of sending this 12 bits from the PIC to the AD667, is there a way to do so using MikroC ?? and how please?? here is the code i'm using: sbit tmr1 at RC0_bit; void OutTimer1 (void) { while (portc.b0==0) { tmr1= porta= porte = TRISC.B2,

Read more
Related news
Comment
FACEBOOK