Modified version of the DmTftLibrary, optimized for the LPC4088 Experiment Base Board

Dependents:   lpc4088_ebb_dm_calc lpc4088_ebb_dm_bubbles

Fork of DmTftLibrary by Display Module

Revision:
6:fde03297017b
Parent:
4:92d019216e28
Child:
11:8b441dd1d470
--- a/dm_platform.h	Thu May 22 09:35:12 2014 +0000
+++ b/dm_platform.h	Fri May 23 08:10:09 2014 +0000
@@ -70,7 +70,11 @@
   // delay should ideally be configurable per platform but for now it will have
   // to be ok to lower the frequency to 500KHz  
   #if defined(__LPC407x_8x_177x_8x_H__)
-    #define slow_pulse_delay()  wait_us(1)
+    //#define slow_pulse_delay()  wait_us(1)
+    #define slow_pulse_delay() do {\
+      volatile unsigned _xyz = 10; \
+      for (; _xyz > 0; _xyz--); \
+    } while(0)
   #else
     #define slow_pulse_delay()
   #endif