V-Plotter
Einleitung
Klassen Definition (Ruby)
class VPlotter() VPlotter.selectPlotter("plotBerd"); VPlotter.customConfig(posMotorRight(x,y), posMotorLeft(x,y), calibrationPoint(x,y), height, width)
VPlotter.calibrate() - ist jetzt am C-punkt
VPlotter.printSpeed(int [mm/sec]) - bewegung geschwindigkeit
VPlotter.penUp() VPlotter.penDown()
VPlotter.setPen(int 0-100) - servo motor position
VPlotter.rotateLeftMotor( int Entfernung) - minus: aufrollen pos: abrollen VPlotter.rotateRightMotor( int Entfernung) - minus: aufrollen pos: abrollen
VPlotter.goto(x,y) - absolute VPlotter.move(x,y) - relativ
VPlotter.home() - mote to calibrate
VPlotter.test() - writes the word test on position