Learning - GlenSearle/tentacle GitHub Wiki

I wrote some python to communicate with the Arduino, glenduino.py. It contains two functions:

def get_sensor(pin)

The pin value is the number of the analog pin on the Arduino.

def send_servo(motor,angle).

The send_servo function takes an angle from 0 to 1 which it maps to 5º to 175º.