Volthaus / arduino-tiny

Automatically exported from code.google.com/p/arduino-tiny
Other
0 stars 0 forks source link

Add compatibility with Arduino 1.0 IDE #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Arduino IDE replaces WProgram.h with Arduino.h, breaking everything.

There's an easy fix: add a file "Arduino.h" inside cores/tiny/ with one line in 
it:

    #include <WProgram.h>

Easy fix. There may be more incompatibilities, but this got my basic sketch 
compiling again.

Original issue reported on code.google.com by jc@wippler.nl on 5 Oct 2011 at 10:33

GoogleCodeExporter commented 8 years ago

Which processor (ATtiny) are you using?

Original comment by arduino....@gmail.com on 6 Oct 2011 at 6:52

GoogleCodeExporter commented 8 years ago
ATtiny85 - does it make a difference?

Original comment by jc@wippler.nl on 6 Oct 2011 at 7:11

GoogleCodeExporter commented 8 years ago

Original comment by arduino....@gmail.com on 19 Dec 2011 at 8:59