MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / create_eeprom_reader

Function create_eeprom_reader

src/ext/makerbot_driver/Factory.py:37–42  ·  view source on GitHub ↗
(port, firmware_verison=6.0, software_variant='0x00', working_directory=None)

Source from the content-addressed store, hash-verified

35
36
37def create_eeprom_reader(port, firmware_verison=6.0, software_variant='0x00', working_directory=None):
38 condition = threading.Condition()
39 s3g = makerbot_driver.s3g.from_filename(port, condition)
40 reader = makerbot_driver.EEPROM.EepromReader.factory(
41 s3g, firmware_verison, software_variant, working_directory)
42 return reader
43
44
45def create_eeprom_writer(port, firmware_version=6.0, software_variant='0x00', working_directory=None):

Callers

nothing calls this directly

Calls 2

from_filenameMethod · 0.80
factoryMethod · 0.45

Tested by

no test coverage detected