This file contains 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
//For 2.74 class project | |
#include "mbed.h" | |
#include "rtos.h" | |
#include "EthernetInterface.h" | |
#include "ExperimentServer.h" | |
#include "QEI.h" | |
#define NUM_INPUTS 1 | |
#define NUM_OUTPUTS 4 |
This file contains 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
import platform | |
if (not platform.python_implementation().lower() == 'ironpython'): | |
print("Wrong version of Python, use IronPython") | |
exit(1) | |
import wpf, clr, System, time, math, csv, subprocess | |
from System import DateTime | |
clr.AddReferenceToFileAndPath("C:\Users\Shamblelab\Documents\shamblelab\instron\FUTEK USB DLL.dll") | |
clr.AddReferenceByPartialName("IronPython") | |
import FUTEK_USB_DLL | |
from FUTEK_USB_DLL import USB_DLL |