mrtweaver Posted July 21, 2015 Posted July 21, 2015 I can use the following python code to control a USB relay module, i am trying to figure out which UDFs i would need in my include to do the same in autoitimport serialimport time fd=serial.Serial("COM3",9600)time.sleep(1)fd.write('x50')time.sleep(0.5)fd.write('x51') def relay_1(): fd.write('x00') time.sleep(1)fd.write('x01') if __name__ == "__main__":relay_1()
Danyfirex Posted July 21, 2015 Posted July 21, 2015 Use this UDF. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now