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: Amp Envelope mbed-rtos mbed
Revision 2:fbc776fc8e12, committed 2016-06-26
- Comitter:
- ryood
- Date:
- Sun Jun 26 06:28:04 2016 +0000
- Parent:
- 1:7c80b8473e44
- Commit message:
- vref?0x0fff???
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Jun 23 13:51:38 2016 +0000
+++ b/main.cpp Sun Jun 26 06:28:04 2016 +0000
@@ -35,7 +35,8 @@
printf("\r\n\n*** Amp Controller Test ***\r\n");
envelope.init();
int cnt = 0;
- int vref = 0;
+ //int vref = 0;
+ int vref=0x0fff;
while (true) {
ampController.outDca(envelope.getModLevel());
envelope.update();
@@ -54,7 +55,7 @@
*/
envelope.init();
ampController.setVref(vref);
- vref += 0x10;
+ //vref += 0x10;
if (vref > 0x0fff) {
vref = 0;
}