Skip to content

Commit

Permalink
Reviving old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo committed May 27, 2023
1 parent 0420c96 commit ae17136
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cage_controller.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import serial # Stuff for controlling the power supplies
import time # Stuff for regulated sensor delays
import smbus # Stuff for controlling temperature and magnetic sensors
import smbus2 # Stuff for controlling temperature and magnetic sensors
import utilities as utils # Stuff for debugging and/or general info
from gpiozero import LED

Expand Down
7 changes: 6 additions & 1 deletion command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,9 @@ def poll_data(duration = 10.0, dt = 1.0):
time_step.append(time_step[-1] + dt)
# temp_array.append(temperature())
mag_array.append(cage_controller.magnetometer())
return time_step, mag_array #temp_array, mag_array
return time_step, mag_array #temp_array, mag_array

if __name__ == "__main__":
interface()


0 comments on commit ae17136

Please sign in to comment.