lucasnicolau / nespad

Automatically exported from code.google.com/p/nespad
0 stars 0 forks source link

Patch file for Arduino IDE 1.0.1 #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In it's current state the examples won't compile using the Arduino 1.0.1 IDE. 
I've attached a patch that seems to fix the issue. The main issue is the 
inclusion of WProgram.h in NESpad.cpp. 

Original issue reported on code.google.com by happyd...@gmail.com on 10 Jul 2012 at 6:08

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, I haven't had a minute to get around to updating the library for Arduino 
1.0+.  In the meantime, you can open the NESpad.cpp file and replace the 
#include lines near the top with:

#if defined(ARDUINO) && ARDUINO >= 100
  #include "Arduino.h"
  #include "NESpad.h"
#else
  #include "WProgram.h"
  #include "NESpad.h"
#endif

Original comment by rah...@gmail.com on 24 Aug 2012 at 7:45