S
Например зелёный/красный.
Или моргание не 1 раз а несколько
Size: a a a
S
СT
A
СT
A
СT
A
S
static inline void turn_on_green() {
GRN=1;
}
static inline void turn_off_green() {
GRN=0;
}
void blink_green(unsigned int delay1, unsigned int delay2, unsigned char times) {
for (unsigned char i=0; i<times; i++) {
turn_on_green();
delay_ms(delay1);
turn_off_green();
delay_ms(delay2);
}
}
СT
СT
СT
S
СT
СT
S
СT
S
СT
S