added todo comments

This commit is contained in:
Teja 2015-09-23 11:45:23 +02:00
parent 906fd54c41
commit 8f144accf4
2 changed files with 3 additions and 1 deletions

View file

@ -885,6 +885,8 @@ class MachineCom(object):
pathToGrblHex = cwd + "/../grbl/grbl.hex"
import subprocess
# TODO check if avrdude is installed.
# TODO log in logfile as well, not only to the serial monitor (use self._logger.info()... )
params = ["avrdude", "-patmega328p", "-carduino", "-b" + str(self._baudrate), "-P" + str(self._port), "-D", "-Uflash:w:" + pathToGrblHex]
returnCode = subprocess.call(params)