Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By sasasa
#37161 After timer1_detachInterrupt(); timer/counter not call handler function at all. I cant enable it with timer1_attachInterrupt(handler);
For test I added 1 line in code - timer1_detachInterrupt();. It stopped all. :(
Code: Select all  timer1_isr_init();
  timer1_enable(0, 0, 1);
  timer1_write(120000);
  timer1_detachInterrupt();
  timer1_attachInterrupt(handler);


Any solutions?