Hello Unregistered ,
Originally Posted by debutpic I want to augment the speed of blink light by loading a value in TMR1H and TMR1L but the speed does not change code: '******************** TMR1H = %11111111 TMR1L = %11111110 '******************** Loading that value %1111111111111110 = $FFFE = 65534 Means the timer will overflow after only 2 ticks. A smaller number would help. Also, it has to be loaded after every interrupt, not just at the beginning of the program. <br>
DT
View Tag Cloud
Forum Rules
Bookmarks