AmpController Class Test
Dependencies: Amp Envelope mbed-rtos mbed
Diff: main.cpp
- Revision:
- 2:fbc776fc8e12
- Parent:
- 0:e8cd21a7412a
--- 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; }