White Wizard micro SD Card module test program.You can use White Wizard SPI system easily! Details : http://wizard.nestegg.jp/sd.html
wwChipSelect.h@1:731d34c1b57d, 2011-08-31 (annotated)
- Committer:
- halfpitch
- Date:
- Wed Aug 31 15:32:09 2011 +0000
- Revision:
- 1:731d34c1b57d
- Parent:
- 0:b8ab9a03a28d
Rev.B
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
halfpitch | 0:b8ab9a03a28d | 1 | //Nest Egg Inc. |
halfpitch | 0:b8ab9a03a28d | 2 | //http://nestegg.jp/ |
halfpitch | 0:b8ab9a03a28d | 3 | //White Wizard Board SPI Chip Select Code |
halfpitch | 0:b8ab9a03a28d | 4 | //Auther : Yoshinari kou |
halfpitch | 0:b8ab9a03a28d | 5 | //2010/10/03 |
halfpitch | 0:b8ab9a03a28d | 6 | |
halfpitch | 0:b8ab9a03a28d | 7 | #include "mbed.h" |
halfpitch | 0:b8ab9a03a28d | 8 | |
halfpitch | 0:b8ab9a03a28d | 9 | class wwChipSelect |
halfpitch | 0:b8ab9a03a28d | 10 | { |
halfpitch | 0:b8ab9a03a28d | 11 | private: |
halfpitch | 0:b8ab9a03a28d | 12 | DigitalOut ChipSelect; |
halfpitch | 0:b8ab9a03a28d | 13 | public: |
halfpitch | 0:b8ab9a03a28d | 14 | wwChipSelect(PinName); //constructor |
halfpitch | 0:b8ab9a03a28d | 15 | void wwCSwrite(int); |
halfpitch | 0:b8ab9a03a28d | 16 | }; |