Support for Arduino IDE 1.0

This commit is contained in:
rjbatista@gmail.com
2011-12-03 18:34:24 +00:00
parent e582d25e84
commit 39fd21d26f
3 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
- Support for Arduino IDE 1.0
Version 1.4.0
- ISSUE #6: Support for specifying dots on setDisplayToString

View File

@@ -16,7 +16,12 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "WProgram.h"
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "TM1638.h"
#include "string.h"

View File

@@ -19,7 +19,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef TM1638_h
#define TM1638_h
#include <WProgram.h>
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "TM1638Fonts.h"
#define TM1638_COLOR_RED 1