Improve power light control
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
|
||||
void timer_mode_1(int value) {
|
||||
timer_stop();
|
||||
TMOD = 0x01;
|
||||
TMOD = (TMOD & 0xF0) | 0x01;
|
||||
TH0 = (unsigned char)(value >> 8);
|
||||
TL0 = (unsigned char)value;
|
||||
TR0 = 1;
|
||||
|
Reference in New Issue
Block a user