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: 4DGL-uLCD-SE mbed AD5206
Revision 2:a906fdd1c2fb, committed 2015-12-01
- Comitter:
- taoqiuyang
- Date:
- Tue Dec 01 08:02:28 2015 +0000
- Parent:
- 1:d4dce9aeea69
- Commit message:
- tested
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Dec 01 07:47:19 2015 +0000
+++ b/main.cpp Tue Dec 01 08:02:28 2015 +0000
@@ -37,7 +37,7 @@
while (1){
funGen.printf("1,3000\n");
-
+ //change gain of the opamp, in order to change output amplitude
digipot.write_AD5206(0,val);
val=val+10;
if (val>=255){val=0;}