Closed danielmawhirter closed 8 years ago
Wemos D1 mini pin mapping is available here:
https://github.com/esp8266/Arduino/blob/master/variants/d1_mini/pins_arduino.h#L49-L61
You should be able to use D0
– D10
, D13
identifiers in your sketch.
So it is, I was mistakenly trying the lowercase variants and fell back to raw numbers. Thank you for your help!
@danielmawhirter more: http://www.wemos.cc/wiki/doku.php?id=en:d1_mini#pin
Thanks, glad to see more documentation and shields coming up!
thank you for your supporting.
please check this forum .. i need some solution :( urgent i have wemos esp8266 nd audiocodec MIKRO E. https://communities.intel.com/message/495988#495988
Sorry, mate. You’re heavily off-topic.
However, quick Google search for WM8731 library does it:
https://github.com/hughpyle/machinesalem-arduino-libs/tree/master/WM8731
On 1 Sep 2017, at 09:31, Bushii7 notifications@github.com wrote:
please check this forum .. i need some solution :( urgent i have wemos esp8266 nd audiocodec MIKRO E. https://communities.intel.com/message/495988#495988 https://communities.intel.com/message/495988#495988 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/1243#issuecomment-326511004, or mute the thread https://github.com/notifications/unsubscribe-auth/AANixzomIesJ9IaYaVE46OIF08j_jjf1ks5sd7LDgaJpZM4G34uZ.
question was actually for WEMOS need an audio codec library compatible with wemos D1 mini...
(using 2.0.0 package manager version) The Wemos D1 mini's pins do not map to arduino pin numbers accurately. Here is the mapping as I have found it so far (using pinmode(), digitalWrite()'s, and a mega for analogRead()'s): normal status:
d0=low, d1=high, d2=low, d3=high, d4=high, d5=high, d6=high, d7=high, d8=low
After running the test with "10" pin d1 appears to have become normally low. Not a clue why, but I have eliminated those "d1 low" results below. arduino pin -> result/connection