arduino code for the magnetorquer wrapper
Instructions: Into the Serial Monitor... Enter SPACE aka ' ' to start motors, Enter 'c' to change directions and start a new layer (resets count along with changing forward variable), Enter 'r' to reset count only, Enter 's' to stop motors (will not reset count so you can continue your layer)
Commands: ' ','c','r','s'
Power supply is set to: 12V and 1 Amp