아두이노 관련 여쭤봅니다.

impactlife의 이미지

안녕하세요
제가 어떤 프로젝트를 하는데 첨부터 막혀서 질문드립니다
ino 파일에서 .h 파일을 불러오는 건데 .h파일에서 기본라이브러리를 못불러오네요

<<main.ino>%gt;

#include "effect.h"

void setup() {

// put your setup code here, to run once:

}

void loop() {

// put your main code here, to run repeatedly:

}

<<effect.h>>

#ifndef _EFFECT_

#define _EFFECT_

#include <SD.h> //<== 요게 안돼요 (No such file or directory 이렇게..)

class Effect{

};

#endif

main.ino 에서는 기본라이브러리가 불러지는데 서브파일인 effect.h 에서는 기본라이브러리가 안불러와져요

어떻게 해야 불러와질까요? 도움 부탁드립니다 (- -) (_ _)