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: ExoController MODSERIAL SDFileSystem_HelloWorld UI-Honka mbed
Fork of Data Management by
Diff: initDatabed/initDatabed.cpp
- Revision:
- 6:784990d5180a
- Parent:
- 3:ef7e0cbade6d
--- a/initDatabed/initDatabed.cpp Wed Jan 14 23:20:26 2015 +0000 +++ b/initDatabed/initDatabed.cpp Wed Jan 14 23:42:14 2015 +0000 @@ -7,6 +7,8 @@ Serial pc(USBTX, USBRX); SPISlave comm(p5, p6, p7, p8); // mosi, miso, sclk, ssel +InterruptIn ssel(p8); //setting up a pin interrupt on the ssel pin as well + // amplifier power on DigitalOut mainPower(p26); // power to board/motors etc