__init__.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. #!/usr/bin/env python3.5
  2. # Copyright 2017 Digital
  3. #
  4. # This file is part of BeeWatch.
  5. #
  6. # BeeWatch is free software: you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation, either version 3 of the License, or
  9. # (at your option) any later version.
  10. #
  11. # BeeWatch is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU General Public License
  17. # along with BeeWatch. If not, see <http://www.gnu.org/licenses/>.
  18. #
  19. # Python Libraries
  20. import curio
  21. import logging
  22. import threading
  23. import time
  24. import traceback
  25. # My Libraries
  26. import digilib.pin
  27. log = logging.getLogger(__name__+"")
  28. lpin = logging.getLogger(__name__+".pin")
  29. # log = logging.getLogger(__name__+"")
  30. print("*"*20)
  31. print("USE CURIO WHEN CODING THE PIN STUFF")
  32. print("this message is printed by {}".format(__file__))
  33. print("*"*20)
  34. class LoadCell(digilib.pin.PinControllerBase):
  35. """interface for a single load cell"""
  36. pass
  37. class BeeWeighingScale(digilib.pin.PinAPIBase):
  38. """handles all load cells"""
  39. pass
  40. #