What is the real name of Analog Inputs in D21G - Proto?
I am confused...
1 - The demo code "IndustruinoDemoCode_D21G" shows this in the line 508 and up:
void MenuAnalogIn1Live() {
lcd.setCursor(6, 0);
lcd.print("A0 ");
lcd.setCursor(30, 0);
lcd.print(analogRead(0));
lcd.setCursor(6, 1);
lcd.print("A10 ");
lcd.setCursor(30, 1);
lcd.print(analogRead(10));
lcd.setCursor(6, 2);
lcd.print("A11 ");
lcd.setCursor(30, 2);
lcd.print(analogRead(11));
lcd.setCursor(6, 3);
lcd.print("A12 ");
lcd.setCursor(30, 3);
lcd.print(analogRead(12));
lcd.setCursor(6, 4);
lcd.print("A13 ");
lcd.setCursor(30, 4);
lcd.print(analogRead(13));
lcd.setCursor(6, 5);
lcd.print("Back ");
So, reading this code, seems that PROTO has 5 (five) analog inputs, that belong to the inputs 0, 10, 11, 12 and 13
2 - The Proto D21G has in the case outside 8 (eight) analog inputs:
A4 (D4)
A6 (D6)
A7 (D7)
A8 (D8)
A11 (D11)
A12 (D12)
A13 (D13)
A18 (D18)
So... What is the correct amount and numbers of the Analog inputs of D21G-Ptoro?
I found the below to be very handy. See pin map columns in first doc & search for PROTO in second doc.
https://static.industruino.com/downloads/diagrams/Industruino_PROTO_D21G_pinout_map_April'17_S.pdf
https://github.com/Industruino/libraries
Ok, I see it now..
Acordin to this, we really have 11 (eleven) Analog Inputs, that share the pin with Digital I/O.
A4 (D4)
A5 (D5)
A6 (D6)
A7 (D7)
A8 (D8)
A9 (D9)
A10 (D10)
A11 (D11)
A12 (D12)
A13 (D13)
A0 (D18)
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 4/10/18, 9:33 PM |
Seen: 2581 times |
Last updated: 4/11/18, 9:08 AM |
Ok, I see it now.. Acordin to this, we really have 11 (eleven) Analog Inputs, that share the pin with Digital I/O. A4 (D4) A5 (D5) A6 (D6) A7 (D7) A8 (D8) A9 (D9) A10 (D10) A11 (D11) A12 (D12) A13 (D13) A0 (D18)