| Electronic Components Datasheet Search |
|
DFR0126 Datasheet(PDF) 3 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0126 Datasheet(HTML) 3 Page - DFROBOT |
|
3 / 9 page ![]() Sample code Arduino IDE Sample code #include <AudioAnalyzer.h> //Version 1.3 for Spectrum analyzer //Please download the latest library from the Product page! Analyzer Audio = Analyzer(4,5,5);//Strobe pin ->4 RST pin ->5 Analog Pin ->5 //Analyzer Audio = Analyzer();//Strobe->4 RST->5 Analog->5 int FreqVal[7];// void setup() { Serial.begin(57600); //Init the baudrate Audio.Init();//Init module } void loop() { Audio.ReadFreq(FreqVal);//return 7 value of 7 bands pass filiter //Frequency(Hz):63 160 400 1K 2.5K 6.25K 16K //FreqVal[]: 0 1 2 3 4 5 6 for(int i=0;i<7;i++) { Serial.print(max((FreqVal[i]-100),0));//Transimit the DC value of the sev en bands if(i<6) Serial.print(","); else Serial.println(); } delay(20); } |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |