0

Sample tool/code
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Sample tool/code

by yuezhao on Thu Jun 03, 2021 7:17 pm

I have FT232H and PCA9685 boards and I want to work on Windows 10. I saw a "USB Serial converter" was added in Device Manager when connecting the FT232H board to the PC via a USB cable. Is there any tool for me to do some tests?

yuezhao
 
Posts: 4
Joined: Thu Jun 03, 2021 4:51 pm

Re: Sample tool/code

by dastels on Thu Jun 03, 2021 7:33 pm

Haver a look at the FT232H tutorial guide: https://learn.adafruit.com/adafruit-ft232h-breakout.

Dave

dastels
 
Posts: 6784
Joined: Tue Oct 20, 2015 3:22 pm

Re: Sample tool/code

by yuezhao on Tue Jun 08, 2021 2:47 pm

Thank Dave for the response.

I have got some i2c sample code in C, such as

pwm.setPWM(servonum, 0, pulselen);

Which library API function should I use to send the related command(s)/data to the serial port?

Thanks,

Yue

yuezhao
 
Posts: 4
Joined: Thu Jun 03, 2021 4:51 pm

Re: Sample tool/code

by dastels on Tue Jun 08, 2021 3:44 pm

See https://learn.adafruit.com/circuitpython-on-any-computer-with-ft232h (linked from the guide I previously posted).

Dave

dastels
 
Posts: 6784
Joined: Tue Oct 20, 2015 3:22 pm

Re: Sample tool/code

by yuezhao on Thu Jun 10, 2021 6:50 pm

I followed the instruction and got the attached error message when trying "import board":

Error msg.png
Error msg.png (23.51 KiB) Viewed 185 times

yuezhao
 
Posts: 4
Joined: Thu Jun 03, 2021 4:51 pm

Re: Sample tool/code

by yuezhao on Mon Jun 14, 2021 3:37 pm

Hi Dave,

Any suggestions to fix this issue?

Thanks,

Yue

yuezhao
 
Posts: 4
Joined: Thu Jun 03, 2021 4:51 pm

Please be positive and constructive with your questions and comments.