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ステータスレジスタです。_ これは#defineAVR ヘッダーの 1 つに含まれているため、#include(おそらくavr/io.hまたはavr/common.h) が欠落している可能性があります。
#define
#include
avr/io.h
avr/common.h