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-dev-f303 FastPWM3
Diff: main.cpp
- Revision:
- 4:c023f7b6f462
- Parent:
- 3:6a0015d88d06
- Child:
- 6:4ee1cdc43aa8
diff -r 6a0015d88d06 -r c023f7b6f462 main.cpp
--- a/main.cpp Wed Mar 09 04:00:48 2016 +0000
+++ b/main.cpp Sat Mar 12 08:04:51 2016 +0000
@@ -14,10 +14,15 @@
Ticker testing;
+
+//SPI spi(PB_15, PB_14, PB_13);
+//GPIOB->MODER = (1 << 8); // set pin 4 to be general purpose output
+
+//DigitalOut chipselect(PB_12);
+
using namespace FastMath;
using namespace Transforms;
-//float offset = 0;//-0.24;
// Current Sampling IRQ
/*
@@ -60,7 +65,6 @@
int main() {
wait(1);
-
testing.attach(&Loop, .0001);
//testing.attach(&PrintStuff, .05);
//inverter.SetDTC(.1, 0, 0);