Focusing on the pin number, it then goes into a switch structure that takes a different action depending on which sensor is connected to the pin.
以管脚编号为中心,然后再进入到一个switch结构,根据连接到此管脚的传感器来采取不同的措施。
You then have analog pins 3 to 6 available for sensor input; assuming pins 1 and 2 are reserved for use by the Ethernet shield (see Resources for more about pin usage).
模拟的插脚3到6可供传感器输入使用;假设插脚1和2保留给Ethernet shield使用(查看参考资料,以了解有关插脚使用的更多信息)。
应用推荐