Dump SPI from input to pc.serial

Dependencies:   mbed

Committer:
cbayley
Date:
Mon Jan 30 23:08:52 2012 +0000
Revision:
0:1ca47c273d0f

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
cbayley 0:1ca47c273d0f 1 #include "mbed.h"
cbayley 0:1ca47c273d0f 2 #include "MySPI.h"
cbayley 0:1ca47c273d0f 3
cbayley 0:1ca47c273d0f 4 void MySPI::puts(char *s)
cbayley 0:1ca47c273d0f 5 {
cbayley 0:1ca47c273d0f 6 while (*s)
cbayley 0:1ca47c273d0f 7 this->write(*s++);
cbayley 0:1ca47c273d0f 8 }