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 USBDevice PinDetect
Diff: Constants.h
- Revision:
- 6:688698f814c0
- Parent:
- 2:e21bd39bdf46
- Child:
- 13:bb0ec927e458
diff -r e21bd39bdf46 -r 688698f814c0 Constants.h
--- a/Constants.h Sun Apr 10 22:06:25 2016 +0000
+++ b/Constants.h Tue Apr 12 20:37:08 2016 +0000
@@ -2,14 +2,14 @@
#ifndef AS_CONSTANTS_H
#define AS_CONSTANTS_H
-#define DEBUG
+//#define DEBUG
+#define USE_PWM true
/* A namespace for all global constants.
* Access using C::VAR_NAME
*/
namespace C {
-const bool USE_PWM = true;
const int SAMPLE_RATE = 44100;
const int MAX_POLYPHONY = 4;
const int MIN_FREQUENCY = 110;
