Difference between revisions of "Joystick Sensor Module"
Qian.zhang (talk | contribs) (→Schematics) |
Qian.zhang (talk | contribs) (→Features) |
||
| Line 7: | Line 7: | ||
== Features == | == Features == | ||
| − | Dimensions: 44. | + | Dimensions: 44.1×24.2×36.7mm |
Net weight: 11g | Net weight: 11g | ||
| + | |||
| + | == Dimension == | ||
| + | |||
| + | [[File:tumb joystick dimension.jpg]] | ||
== Schematics == | == Schematics == | ||
Revision as of 10:21, 13 June 2014
Contents
Introduction
This is a joystick module with Linker kit standard connection.
Features
Dimensions: 44.1×24.2×36.7mm
Net weight: 11g
Dimension
Schematics
Application Ideas
test <syntaxhighlight lang="c"> /*
Joystick AnalogReadSerial Reads an analog input of Joystick on pin 0 and pin 1, prints the result to the serial monitor
*/
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(A0);
int sensorValue2 = analogRead(A1);
Serial.print("The X and Y coordinate is:");
Serial.print(sensorValue, DEC);
Serial.print(",");
Serial.println(sensorValue2, DEC);
Serial.println(" ");
delay(200);
} </syntaxhighlight>
Resources
How to buy
Here to buy Joystick Sensor Module on store

