Difference between revisions of "4DOF Pin correspondence extension board"

From Wiki
Jump to: navigation, search
(Created page with "1.the corresponding code on the extension board Pin1 to Pin6 is 2-7, that is, pin number +1. For example, the servo wire is inserted in Pin1, and the code will be changed to...")
(No difference)

Revision as of 03:43, 23 October 2018

1.the corresponding code on the extension board Pin1 to Pin6 is 2-7, that is, pin number +1. For example, the servo wire is inserted in Pin1, and the code will be changed to "myservo.attach (2)", in other words, the 16 of the chart will be changed to 2. 201810231136.jpg 2.the corresponding code on the extension board Pin7 to Pin 12 is 14-19, that is, pin number +7. Similarly, suppose the servo wire is inserted in Pin9, the code is "myservo.attach (16)."


The extension board connects Pin1 to Pin6 port to D2 from Nano board to D7 respectively.Its calling method is pin number +1. For example,the servo wire is inserted in the Pin3 of the expansion board, and the code is "myservo.attach (4)". This expansion board uses the A0 ~ A5 ports of the Nano board as digital pins, and Pin7 to Pin12 on the expansion board are connected to A0 ~ A7 respectively. The call method is pin number + 7. For example, the servo wire is inserted in Pin9, and the code is "myservo.attach (16)".