Click here to Skip to main content
14,920,539 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
 How can I send this through/over the usb port. Do I have to do this with pyserial to send it over the usb port? if so how can I do it. The purpose is to send bits of 0s and 1s through the usb port (For example, for freq = 200, I will obtain a sequence of
4800/100 = 24 bits. This output buffer will be a repeating pattern
of 12 ones followed by 12 zeros (1111111111000000000000,..).


What I have tried:

<pre> How can I send this through/over the usb port. Do I have to do this with pyserial to send it over the usb port? if so how can I do it. The purpose is to send bits of 0s and 1s through the usb port (For example, for freq = 200, I will obtain a sequence of
4800/100 = 24 bits. This output buffer will be a repeating pattern
of 12 ones followed by 12 zeros (1111111111000000000000,..).
Posted
Updated 14-May-17 1:54am

1 solution

The answer you were given in your original post of this question, at Can someone help me change this code to Python?[^], has not changed.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900