Sample tool/code

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
yuezhao
 
Posts: 4
Joined: Thu Jun 03, 2021 4:51 pm

Sample tool/code

Post by yuezhao »

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?

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Sample tool/code

Post by dastels »

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

Dave

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

Re: Sample tool/code

Post by yuezhao »

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

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Sample tool/code

Post by dastels »

See https://learn.adafruit.com/circuitpytho ... ith-ft232h (linked from the guide I previously posted).

Dave

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

Re: Sample tool/code

Post by yuezhao »

I followed the instruction and got the attached error message when trying "import board":
Error msg.png
Error msg.png (23.51 KiB) Viewed 324 times

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

Re: Sample tool/code

Post by yuezhao »

Hi Dave,

Any suggestions to fix this issue?

Thanks,

Yue

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”