adafruit / Adafruit_CircuitPlayground

library for Circuit Playground board
171 stars 77 forks source link

C:\Users\Dr.Zahid\Documents\Arduino\libraries\Adafruit_Circuit_Playground\utility\Adafruit_CPlay_Mic.cpp: In member function 'void Adafruit_CPlay_Mic::capture(int16_t*, uint16_t)': C:\Users\Dr.Zahid\Documents\Arduino\libraries\Adafruit_Circuit_Playground\utility\Adafruit_CPlay_Mic.cpp:68:37: error: 'analogPinToChannel' was not declared in this scope channel = analogPinToChannel(4); // Pin A4 to ADC channel ^ exit status 1 Error compiling for board Arduino Nano. #32

Closed zaheedamir closed 6 years ago

zaheedamir commented 6 years ago

Thank you for opening an issue on an Adafruit Arduino library repository. To improve the speed of resolution please review the following guidelines and common troubleshooting steps below before creating the issue:

If you're sure this issue is a defect in the code and checked the steps above please fill in the following fields to provide enough troubleshooting information. You may delete the guideline and text above to just leave the following details:

zaheedamir commented 6 years ago

what does this error mean and how to fix

ladyada commented 6 years ago

this library does not work on the NANO :)