Okay, so I have scoured TheRebelArmory and this forum, and cannot find the info I’m looking for. I know it is out there…and probably obvious, but it is 12:30 AM and I don’t have enough brain cells left firing.
I have two questions:
Where (and how) do I define the function of the data pins? Is it in the config file, prop file, or the OS itself? This is probably a dumb question, but it wasn’t obvious from the wiki.
How do I define the output of the pin to be a PWM audio signal. Is there a PWM audio signal already in the board and it is a simple as porting to a data pin? Or, does the digital signal going to the amp need to be normalized to PWM manually?
As a bit of background, I am trying to feed the PWM signal into a haptic chip (TI DRV2603) to drive a small vibration motor to match the audio output of the board.
I’ve done a bit of basic arduino coding, but it is taking me a while to understand the structure of everything in terms of the OS and what does what.