short program to show a problem with spi and tickers

Dependencies:   mbed

Revision:
0:85d990bd01f4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pattern.h	Wed Oct 20 04:32:32 2010 +0000
@@ -0,0 +1,13 @@
+
+
+#define ISR_FREQ 5000
+#define NUM_SAMPLES 100
+
+class pattern {
+  Ticker update_ticker;
+private:  
+  void update_isr(void);
+public:
+  pattern(void);
+  void start(void);
+};