Created
March 6, 2015 22:42
-
-
Save ggggggggg/6db6e2c3be0eb0e252a4 to your computer and use it in GitHub Desktop.
andor basic program to write data to serial port
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// setup serial port | |
baud(2,9600) | |
Handshake(2,0) | |
// use background subtracted data | |
SetDataType(2) | |
//camera settings | |
// send timings | |
timings$ = ShowTimings() | |
comwrite(2,timings$) | |
comwrite(2,mid$(timings$, 27,21)) | |
while (1) | |
run() | |
comwrite(2,time$(),Mean(#0_sig{s})) | |
print(Mean(#0_sig{s})) | |
wend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment