delete led heartbeat.

Dependencies:   EALib USBDevice mbed

Fork of LPC4088test_ledonly by fuyuno sakura

Files at this revision

API Documentation at this revision

Comitter:
mio
Date:
Mon Oct 07 21:50:14 2013 +0000
Parent:
1:65017af721b9
Commit message:
delete led heartbeat.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Oct 07 21:44:21 2013 +0000
+++ b/main.cpp	Mon Oct 07 21:50:14 2013 +0000
@@ -2,21 +2,22 @@
 //#include "sdram.h"
 //#include "USBSerial.h"
 
-DigitalOut led1(LED1);
+//DigitalOut led1(LED1);
 //USBSerial cdc;
 Serial pc(USBTX,USBRX);
 
-#define SIZE (1024*1024)
+//#define SIZE (1024*1024)
 
-int alloccount = 0;
-unsigned char *ptr[100] ;
+//int alloccount = 0;
+//unsigned char *ptr[100] ;
 
 int main() {
     //sdram_init();
     while(1) {
         //ptr[alloccount] = (unsigned char *)malloc(SIZE) ;
         //cdc.printf ("Allocated Address = %08X\r\n",ptr[alloccount]);
-        pc.printf ("Allocated Address = %08X\r\n",ptr[alloccount]);
+        //pc.printf ("Allocated Address = %08X\r\n",ptr[alloccount]);
+        pc.printf ("Allocated Address = XXXXXXXXXXX\r\n");
         //if (ptr[alloccount] == NULL) {
         //    cdc.printf("MAX ALLOC MEMORY %d MB\r\n",alloccount);
         //    pc.printf("MAX ALLOC MEMORY %d MB\r\n",alloccount);
@@ -27,9 +28,9 @@
         //} else {
         //    alloccount++ ;
         //}
-        led1 = 1;
-        wait(0.1);
-        led1 = 0;
-        wait(0.1);
+        //led1 = 1;
+        //wait(0.1);
+        //led1 = 0;
+        //wait(0.1);
     }
 }