Audrino code 問題

本帖最後由 bbsen 於 2017-1-30 03:12 編輯

我想整依舊嘢
http://makezine.com/projects/bui ... board-with-arduino/

但係audrino IDE 1.8.1 comply果陣下面依句出現error:
#if defined(MIDI_FIGHTER) &&amp defined(ARDUINO)

error message 如下:
Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"

MIDI_Controller:142: error: token ";" is not valid in preprocessor expressions

#if defined(MIDI_FIGHTER) && defined(ARDUINO)

                               ^

MIDI_Controller:300: error: #endif without #if

#endif

  ^

C:\Users\XX\Desktop\MIDI_Controller\Avey_MIDI_Pedal_with_LCD.ino:9:20: fatal error: Bounce.h: No such file or directory

#include <Bounce.h>

                    ^

compilation terminated.

exit status 1
token ";" is not valid in preprocessor expressions




請問點fix?

謝謝

將每個
  1. &amp;
複製代碼
改返做
  1. &
複製代碼

TOP