asking
Full Member level 5
Hi,
I had a situation where i have write 31250 to timer1 in Mikroc for AVR for ATTiny2313. But in mikroc is not accepting TCNT1 = 31250. It asks for TCNT1H & TCNT1L. so how can i create > greater than condition with hex codes ? for I want to create program to toggle led when TCNT1 total count is greater than 32150. (1 second delay) by using prescaler @ 256 and Fosc @ 8mhz.
Please help how to manipulate condition with Hex ?
I had a situation where i have write 31250 to timer1 in Mikroc for AVR for ATTiny2313. But in mikroc is not accepting TCNT1 = 31250. It asks for TCNT1H & TCNT1L. so how can i create > greater than condition with hex codes ? for I want to create program to toggle led when TCNT1 total count is greater than 32150. (1 second delay) by using prescaler @ 256 and Fosc @ 8mhz.
Please help how to manipulate condition with Hex ?