void setup() {
// put your setup code here, to run once:
analogReference(DEFAULT);
}
void loop() {
// put your main code here, to run repeatedly:
int horizontal, vertical;
horizontal = map(analogRead(0), 0, 1024, 0, 128);
vertical = map(analogRead(1), 0, 1024, 0,128);
analogWrite(5, horizontal);
analogWrite(6, vertical);
}