Shashi0401
Newbie level 4
PLEASE explain the set timer function here .What exactly it is doing .Also what is this number 60535. Please HELP ME!!!
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 case 0: if (int_innercount == 0) { output_low(PIN_B5); output_low(PIN_B6); output_low(PIN_B1); int_innercount = 1+int_innercount; set_timer1(60535); } else if (int_innercount == 1) { output_high(PIN_B1); int_innercount = 1+int_innercount; set_timer1(65035); } else { output_low(PIN_B1); int_count = 1+int_count; int_innercount = 0; set_timer1(65035); } break;
Last edited by a moderator: