@@ -41,45 +41,6 @@ class BeeWeighingScale(digilib.pin.PinAPIBase):
"""handles all load cells"""
pass
-# class PinAPIBee(digilib.pin.PinAPIBase):
-# """will be configurable via yaml file"""
-# action_in_process = False
-# def __init__(self):
-# super(PinAPIBee,self).__init__()
-# self.engine_controller = digilib.pin.EnginesController(
-# left=[4,17],
-# right=[27,22],
-# )
-# self.text_to_func = {
-# "turn":self.engine_controller.turn
-# }
-# def __enter__(self):
-# if self.action_in_process:
-# lpin.debug("action already in process, not entering")
-# return False
-# def call(self,func_name,args,respond_method,kwargs):
-# ttf = self.text_to_func
-# if func_name in ttf.keys():
-# try:
-# task = curio.run(
-# ttf[func_name](
-# # self.bee_api,
-# *args,
-# respond_method=respond_method,
-# **kwargs,
-# except:
-# tb = traceback.format_exc()
-# print(tb)
-# respond_method(tb)
-# else:
-# respond_method("Unknown command")
-
@@ -117,36 +117,6 @@ class ConnHandlerBeeWatch(digilib.network.ConnHandlerBase):
self.send(text)
-# class BeeAPI(object):
-# def __init__(self, config_file=None):
-# super(BeeAPI, self).__init__()
-# lapi.info("BeeAPI")