sasa
Dependencies: SDFileSystem mbed
Diff: CartaoSD.h
- Revision:
- 0:4f476bcbfc58
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CartaoSD.h Mon Oct 17 15:54:54 2016 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" +#include "SDFileSystem.h" +class CartaoSD +{ + + static const PinName Mosi = PTD2; + static const PinName Miso= PTD3; + static const PinName Sclk = PTD1; + static const PinName Cs= PTD0; + + + SDFileSystem _sd; + + public: + CartaoSD(); + ~CartaoSD(); + + void gravarSD(); + +}