Skip to content

Add support for 10 micron MGPBox #74

@gnthibault

Description

@gnthibault

Follow suggestion from this issue: mworion/MountWizzard4#151

In particular, this pyserial piece of code:

def toggle(): 

	import serial
	import time

	# This is the serial command to toggle 10Micron power
	pulseCommand = ':pulse,1500*\n'

	# Open port
	serialCon = serial.Serial(port=MGPBox, baudrate=38400)

	# Send pulse to relay
	time.sleep(2)
	serialCon.write(str.encode(pulseCommand))
	time.sleep(2)

	# Tell the user that we're done
	print('Toggled power to 10Micron Mount')

	# Close the port
	serialCon.close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions