Keyestudio 4DOF Manual page 99

Robot arm kit
Hide thumbs Also See for 4DOF:
Table of Contents

Advertisement

96
set the pin to Input status and then read the measured value 1
(pressed down) or 0 (not press). Check out the value printed
on the serial monitor.
Connection Diagram:
Test Code 3:
**************************************************************************************
const int right_X = A2; // define the right X pin to A2
const int right_Y = A5; // define the right Y pin to A5
const int right_key = 7; //define the right key pin to 7(that is the value Z)

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 4DOF and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents