short program to show a problem with spi and tickers

Dependencies:   mbed

pattern.h

Committer:
sravet
Date:
2010-10-20
Revision:
0:85d990bd01f4

File content as of revision 0:85d990bd01f4:



#define ISR_FREQ 5000
#define NUM_SAMPLES 100

class pattern {
  Ticker update_ticker;
private:  
  void update_isr(void);
public:
  pattern(void);
  void start(void);
};