Driver Library for our displays

Dependents:   dm_bubbles dm_calc dm_paint dm_sdcard_with_adapter ... more

Revision:
14:2db7065edbec
Parent:
13:6ff2649b6c27
--- a/DmTpFt6x06.h	Fri Sep 18 14:59:13 2015 +0000
+++ b/DmTpFt6x06.h	Mon Oct 12 08:35:35 2015 +0000
@@ -62,15 +62,15 @@
  uint8_t readRegister8(uint8_t reg);  
  void writeRegister8(uint8_t reg, uint8_t val); 
   void enableIrq();
+#if defined (DM_TOOLCHAIN_ARDUINO)
   int8_t _irq; 
-#if defined (DM_TOOLCHAIN_ARDUINO)
   regtype *_pinIrq;
   regsize _bitmaskIrq;
 #elif defined (DM_TOOLCHAIN_MBED)
+  PinName _irq;
   long map(long x, long in_min, long in_max, long out_min, long out_max);
   DigitalIn *_pinIrq;
   I2C *_i2c;
 #endif
 };
 #endif
-