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 Lab1_Part9 by
Revision 4:e4aed7bf3e21, committed 2018-01-31
- Comitter:
- bjs9
- Date:
- Wed Jan 31 18:24:47 2018 +0000
- Parent:
- 3:e09fd735ed93
- Commit message:
- Changes to code;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jan 31 18:21:06 2018 +0000
+++ b/main.cpp Wed Jan 31 18:24:47 2018 +0000
@@ -13,7 +13,7 @@
const double pi = 3.141592653589793238462;
while (1) {
for(int i= 0; i < 20; i++ ){
- aout = sin(2 *pi * i/20);
+ aout = 1.6 + 3.3f *sin(pi * i/10);
//printf("aout = %1.2f volts\n",aout.read());
}
}
