mzitella
Published © LGPL

Joystick LCD Tracker

Tracks joystick position and puts on a LCD. Put it at a position and hit reset and you get a position.

BeginnerFull instructions provided3,964
Joystick LCD Tracker

Things used in this project

Story

Read more

Code

Joystick code

Arduino
Its really simple.
// include library code
#include <LiquidCrystal.h>

// initialize library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
//Data on Lcd
void setup() {
lcd.begin(0,0);
int joyx=analogRead(A1);
int joyy=analogRead(A2);
lcd.print(joyy);
lcd.print(joyx);
}


void loop() {

}

Credits

mzitella
2 projects • 0 followers

Comments