It is a test product. For informational purposes only.

100pcs Higher Quality Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor KY-023, Price For Sale

Original price was: $61.86.Current price is: $61.85.

Category:


Description




Descriptions:
In the introduction of how to use, we first look at how it works, which we use it very helpful, there is a function of the following diagram:

In fact, this module is a potentiometer, x, y-dimensional data output port is read out the analog voltage. This figure does not draw the above z-dimensional data output, z-dimensional output only 0 and 1, can be achieved by a button. All in all, it is a combination of potentiometer and button. In the Arduino use it, x, y dimension we received two analog ports to read their values, while the z-dimensional we are connected to the digital port, connected to the power and ground.
test program:
Int JoyStick_X = 0; // x
Int JoyStick_Y = 1; // y
Int JoyStick_Z = 3; // key
Void setup () {pinMode (JoyStick_X, INPUT);
PinMode (JoyStick_Y, INPUT);
PinMode (JoyStick_Z, INPUT);
Serial.begin (9600); // 9600 bps}
Y = analogRead (JoyStick_Y); z = digitalRead (JoyStick_Z); void loop () {int x, y, z;
Serial.print (x, DEC); Serial.print ( “,”);
Serial.print (y, DEC); Serial.print ( “,”);
Serial.println (z, DEC);
CFsunbird



Package Included:

100pcs X Quality Dual-axis XY Joystick Module

Date First Available ‏ : ‎ January 5, 2022
Manufacturer ‏ : ‎ Midzooparts
ASIN ‏ : ‎ B09PQS7F1J

100pcs Higher Quality Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor KY-023

Rate this product


Reviews

There are no reviews yet.

Be the first to review “100pcs Higher Quality Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor KY-023, Price For Sale”

100pcs Higher Quality Dual-axis XY Joystick Module PS2 Joystick Control Lever Sensor KY-023, Price For Sale
Original price was: $61.86.Current price is: $61.85.