Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从 arduino 转换为 avr-c。我得到错误SREG未声明。你知道是什么SREG吗?。
SREG
SREG是状态寄存器。_ 它位于AVR 标头之一中,因此您可能缺少一个(也许是或)。#define#includeavr/io.havr/common.h
#define
#include
avr/io.h
avr/common.h