Asked — Edited
Resolved Resolved by Niek!

Connecting An Analog To Ez-B To Control Robot

is it possible to put an analog stick to an ez-b through the A0,A1...... ports

User-inserted image

By setting up variables to the x,y and button press (vert, horz, sel) is it possible to setup if statements for controlling the robot ex:

$Vertical = A1
$Forward = D1

While()
.get(A1)
If $Vertical = 1
$Forward = On
EndIf

sorry code is incorrect have forgotten a few of the terms, since i have been using Java and C++ for the last few months and everytime I start using other languages i need a quick recap of the other languages.


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

Netherlands
#25  

@kplamondon I might be a bit late with this, but you should test it out on a breadboard first:D

I am using Eagle CAD, yes. There are lots of great tutorials for it out there. The software Jeremie over at EZ-Robot is using was Altium.