Commit ff39003a authored by gijs's avatar gijs

Added memory expansion

parent 3a95aeb0
......@@ -4,15 +4,18 @@
import chiplotle
from settings import db
import time
from plottertools.memory import enlargeMemory
PLOTTER_SIGNATURE = '7595'
PLOTTER_PORT= '/dev/ttyUSB0'
VIRTUAL = True
# PLOTTER_SIGNATURE = '7550'
# PLOTTER_PORT= '/dev/ttyUSB0'
VIRTUAL = False
if VIRTUAL:
plotter = chiplotle.tools.plottertools.instantiate_virtual_plotter()
else:
plotter = chiplotle.tools.plottertools._instantiate_plotter._instantiate_plotter(PLOTTER_PORT, PLOTTER_SIGNATURE)
plotter = chiplotle.tools.plottertools.instantiate_plotters()[0]
enlargeMemory(plotter)
while True:
plotcursor = db.plots.find({'plotted': False}).sort('timestamp', 1).limit(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment