Tested the above code. On power up, it gives 3 and 6 on 16f870 and 2 and 4 on 12f683, same results on each power up.
however, if I place it in the loop, results on 16f870 are changing, while on 12f683 they remain 2 and 4.
Tested the above code. On power up, it gives 3 and 6 on 16f870 and 2 and 4 on 12f683, same results on each power up.
however, if I place it in the loop, results on 16f870 are changing, while on 12f683 they remain 2 and 4.
Hi,
OK, the fact that you don't get the exact same sequence from the two devices could possibly (I don't know) come from the different instruction width (12 vs 14 bits) between the two. But why the 12F683 doesn't continue the sequence when the routine is looped is beyond me.
/Henrik.
Bookmarks