robot.py: fix upsidedown method iio device access

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>