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.
Diff: Saw.cpp
- Revision:
- 8:dd2da7c0c4c7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Saw.cpp Tue Feb 09 05:39:46 2016 +0000
@@ -0,0 +1,26 @@
+ #include "Saw.h"
+
+ Saw::Saw(long interrupt_us):WT(interrupt_us)
+ {
+ unsigned long src[]=
+ {
+0x0,
+0x1111,
+0x2222,
+0x3333,
+0x4444,
+0x5555,
+0x6666,
+0x7777,
+0x8888,
+0x9999,
+0xAAAA,
+0xBBBB,
+0xCCCC,
+0xDDDD,
+0xEEEE,
+0xFFFF,
+
+ };
+ setWave(src);
+}
\ No newline at end of file