Basic Stamp 2 Homework and PCA9685 servo controller
andresrtr
Posts: 5
in BASIC Stamp
Hello, I need to use a PCA9685 and basic stamp 2.
The I2C Communication is used for PCA9685, but I don't know the code between the BS2 and PCA9685, anyone could solve my problem?.
The I2C Communication is used for PCA9685, but I don't know the code between the BS2 and PCA9685, anyone could solve my problem?.
Comments
Nuts and Volts #115 shows how to use I2C devices with the BS2 and has code that you can modify for your device.
https://www.parallax.com/downloads/nuts-and-volts-basic-stamps-volume-5
I don't know what you plan to do but be aware that the BS2 only has 2K of program memory and the I2C code uses quite a bit of it.
http://67.104.29.60/discussion/137671/bs2-drives-16-servos