2
Arduino 메가 2560에서 핀 변경 인터럽트를 활성화하는 데 "Yet Another PCInt Library"을 사용하려고합니다. Arduino IDE에서 코드는 Windows에서 제대로 컴파일되지만 Mac에서는 실패합니다 .nullptr이 Mac에서 컴파일 할 때 범위에 선언되지 않았습니다.
nullptr not declared in this scope
attachInterrupt(pin, (callback)func, nullptr, mode, trigger_now);
^
arduino IDE의 OS X에서 어떻게 컴파일 할 수 있습니까?