📄 temp.c
字号:
//save comment#include "msched.h"#include "mos.h"#include "uart.h"#include "led.h"#include <avr/io.h>#include <avr/signal.h>#include <avr/interrupt.h>#include <avr/pgmspace.h>#include <inttypes.h>#include "config.h"#include <stdbool.h>static void send_byte(void){ uint8_t c = 3; while(1) { while (!(UCSR0A & 0x20)); UDR0 = c; mos_led_blink(1); } }void start(void){ mos_thread_new(send_byte, 128, PRIORITY_NORMAL);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -