Other Parts Discussed in Thread: DRV2605, , TCA9548A
Hi,
I am fairly new to Arduino and I programmed from 20 years ago.
I and trying to get the drv2605 to accept a delay/pause/timer lib. (what ever works)
***In the section" 3.1.3 tells about using a delay with I2C" of your PDF, I don't understand how I am to implement the delays. It's not clicking with me.
Do I use the writeRegister8(DRV2605_REG_WAVESEQ1, xxx) format?
I had been trying to use Adafruit's code to control them, but started to use the .cpp file
Can you supply me with an example code to use?
I am using several drv's and would like to have say... two on at all times and 3 to have a delay on/off.
I'm trying to enact a 3 to 10 sec delay, is that possible?
I have everything working in my code except that.
Also I was wondering when I was playing around with the waveseq like below
drv5.writeRegister8(DRV2605_REG_WAVESEQ1, 123); //effect
drv5.writeRegister8(DRV2605_REG_WAVESEQ2, 7667); //wave
I started noticing that values of 1-9 in waveseq2 (xxxx values) effect the types of patterns as well. Is this changing the bit waveform, bc it reminds me of a stereo equalizer just with 4 input values.
It would great it you folks can help me out bc I have posted on several forums to no avail.
Thanks alot,
Jim