Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Project_PokPakGame by
main.cpp
- Committer:
- Pumipachpro
- Date:
- 2015-11-28
- Revision:
- 0:e282add6146d
- Child:
- 1:374cc7a8fcf0
- Child:
- 2:8b6312dbfd2f
File content as of revision 0:e282add6146d:
#include "mbed.h" SPI DataPack(SPI_MOSI, SPI_MISO, SPI_SCK); DigitalOut Latch(D10); int main() { DataPack.frequency(100000); DataPack.format(8,0); Latch=0; DataPack.write(0x1E); wait_us(1); DataPack.write(0xC3); wait(0.1); DataPack.write(0xF8); wait(0.1); DataPack.write(0xFF); wait(0.1); Latch=1; //return 0; }