+#include "command.h"
+#include "platform.h"
+#include <string.h>
+
//! Different command handling functions.
unsigned char cmddata[256];
volatile unsigned int i=count;
while(i--) asm("nop");
}
+//! MSDelay
+void msdelay(unsigned int ms){
+ volatile unsigned int i,j;
+ i=100;
+ while(i--){
+ j=ms;
+ while(j--) asm("nop");
+ }
+ //Using TimerA might be cleaner.
+}