I am trying to command my Arduino Uno from a Java program using ardulink
The function in Arduino is the following (using the Servo class):
#define Init(port) \
attach(port); \
pinMode(A3,OUTPUT); \
digitalWrite(A3, HIGH);
and in my JAVA program is
Link link = Link.getDefaultInstance();
boolean connected = link.connect("COM6", 57600);
//send messages
MessageInfo msg=link.sendPowerPinSwitch(9, IProtocol.POWER_HIGH);
However I don't know the equivalence of A3 in pin numbers to be able to call "sendPowerPinSwitch" I tried with "9" cause I found in the documentation file the following:
#define CON1_DIG 9
and the CON1_DIG is the one associated to the barrier in this doc:
http://moway-robot.com/wp-content/files_mf/teachers_guide_moway_smart_city.pdf
But it did not work :(
How can I find the appropriate pin number for "A3" ?