asking
Full Member level 5
- Joined
- Sep 21, 2010
- Messages
- 279
- Helped
- 6
- Reputation
- 12
- Reaction score
- 6
- Trophy points
- 1,298
- Activity points
- 3,377
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 ?