2nd approach
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 |
diff -r d4dce9aeea69 -r a906fdd1c2fb main.cpp --- 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;}