printcore.py for connection with adruino and ramps..