Commit Graph

26 Commits

Author SHA1 Message Date
Martin Zietz 8d1870956f reworked config handling
file is now only written when explicitly wanted, e.g. on button press.
global config stored instead as config object
2021-02-04 15:33:19 +01:00
Martin Zietz ef914ff6fc small stuff 2021-02-04 11:00:33 +01:00
Martin Zietz b0c5beb444 code cleanup 2021-02-03 18:26:44 +01:00
Martin Zietz 1847df859c more safe value checking 2021-02-03 16:40:45 +01:00
Martin Zietz 2a2a538fd8 added protection against excessive values 2021-02-02 17:56:43 +01:00
Martin Zietz 8cf4961d99 implemented config file read and default write 2021-01-28 17:28:38 +01:00
Martin Zietz c0fb71f73f started on config file
renamed settings.py to globals.py
2021-01-28 12:50:13 +01:00
Martin Zietz 5f23c71bff various changes
- added checkbox for ambient field compensation
- moved part of axis setup to axis.__init__
2021-01-28 12:23:56 +01:00
Martin Zietz 89a8a59377 changed all print() to ui_print() 2021-01-27 14:11:30 +01:00
Martin Zietz 4c7b9edd94 added output console to ui 2021-01-27 13:45:15 +01:00
Martin Zietz 239b685fee debug and testing with arduino 2021-01-27 11:21:03 +01:00
Martin Zietz 2154fe56c6 restructure to have class for Arduino 2021-01-25 10:34:00 +01:00
Martin Zietz 03e3759525 implemented readouts in status display 2021-01-22 16:47:01 +01:00
Martin Zietz 92082a9170 full program general error protection 2021-01-22 13:01:47 +01:00
Martin Zietz 59606f050f Status display work, Error handling for not connected devices 2021-01-22 12:26:22 +01:00
Martin Zietz 9620bcdfdd reworked cage_func to use class for axes 2021-01-21 15:05:44 +01:00
Martin Zietz b1f55b4dc4 Status Panel setup 2021-01-21 13:37:46 +01:00
Martin Zietz b63bcb0379 Basic GUI framework 2021-01-20 15:20:42 +01:00
Martin Zietz 91de7f7240 user interface work 2021-01-20 13:55:29 +01:00
Martin Zietz e14dca928f Renamed static variables to all caps 2021-01-01 12:54:23 +01:00
Martin Zietz df9cdd6f0d limited voltage
Used diodes can tolerate 17V max, limited script to 16V
2020-12-15 16:49:57 +01:00
Martin Zietz aa7af54d7f added arduino setup function 2020-12-10 19:26:54 +01:00
Martin Zietz a3dc805f45 cleanup 2020-12-10 12:49:41 +01:00
Martin Zietz 12ec34182b Implemented Arduino-based polarity control into main script 2020-12-10 12:44:30 +01:00
Martin Zietz 0b15116fd9 Added most functions needed for cage operation 2020-12-04 16:54:17 +01:00
Martin Zietz e03b2c8416 started work on 3-axis handling 2020-12-04 14:05:36 +01:00