Arkadaşlar Arduino’da yeniyim. Hazır bir kodu arduino derleyicine yapıştırdım ancak derlerken aşağıdaki gibi bir hata veriyor. Sebebini anlayamadım. Yardımcı olun lütfen !! ** Bilgisayarım MacBook Pro ** Arduino IDE 1.0.5 ** Arduino bilgisayarıma bağlı değil Kod ve verdiği hata aşağıdaki gibi // Test of Gkos and LiquidCrystal libraries together // include libraries: #include _LiquidCrystal.h> #include _Gkos.h> // initialize libraries with numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); Gkos gkos(14, 15, 16, 17, 18, 19); void setup(){ // set up the LCD’s number of rows and columns: lcd.begin(16, 2); lcd.cursor(); // Print a message to the LCD. lcd.print(“GKOS Keypad Test”); lcd.setCursor(0, 1); // Move to second line (= 1) } void loop(){ // What you type is shown on LCD lcd.print(gkos.entry()); // Add your other code here, like: } In file included from gkos_lcd_test.pde:5: /Users/yusuf/Documents/Arduino/libraries/Gkos/Gkos.h:10:22: error: WProgram.h: No such file or directory
en alt satırda problemi söyluyor zaten gkos kutuphanesini arduinoda kurulumunu yapmanız lazım. bu işler copy pastle olmuyor işte biraz okumak araştırmak lazım…
Onu nasıl yaparım peki
Hazır bir kodu denemek istiyorsan, Arduino’da examples menüsü altındaki programları deneyebilirsin
ilgili gkos.h dosyasını bul kodu bulduğun yerden /Users/yusuf/Documents/Arduino/libraries/Gkos/Gkos.h yoluna kopyala compilerde sketch>>import library >> add library seç /Users/yusuf/Documents/Arduino/libraries/Gkos/ yolunu göster compileri kapat ve yeniden aç