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.
main.cpp
00001 // MSGEQ7_Hello_World 00002 // Created by Chris Wilson 00003 // 10/16/2013 00004 00005 00006 #include "mbed.h" 00007 #include "MSGEQ7.h" 00008 00009 #define MAX 500 00010 00011 MSGEQ7 eq(p13, p14, p15); //reset, strobe, analog 00012 00013 int main() { 00014 while(1) { 00015 eq.readInt(MAX); //Read in integer frequency data with max value set to 'MAX' 00016 00017 //Print out frequency data 00018 for(int i = 0; i < 7; i++){ 00019 printf("%d\t", eq.freqDataInt[i]); 00020 } 00021 printf("\n"); 00022 } 00023 }
Generated on Wed Jul 13 2022 02:41:50 by
1.7.2
MSGEQ7 Graphic Equalizer