Thanks Ace!
Thanks for the quick reply. After reading your post I took a closer look at the data I am sending to the serial window. I see that while the volume increases the gain setting is also increasing up to 65531 and then overruns to "0". From there up to full volume the gain numbers track as expected if divided by 10.
Left = 188
Right = 188
Gain = 65516
Left = 189
Right = 189
Gain = 65521
Left = 190
Right = 190
Gain = 65526
Left = 191
Right = 191
Gain = 65531
Left = 192
Right = 192
Gain = 0 HERE!!!!!!!!!!!!!!!!!!!
Left = 193
Right = 193
Gain = 5
Left = 194
Right = 194
Gain = 10
Left = 195
Right = 195
Gain = 15
Left = 196
Right = 196
Gain = 20
/////////////////////////////////////////////////////////
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\
Left = 253
Right = 253
Gain = 305
Left = 254
Right = 254
Gain = 310
Left = 255
Right = 255
Gain = 315
This tells me that I need to send the remainder of (65536 - gain) up to gain = 0 and then send the actual gain value/10.
I think.
Am I on the right track?
"It will never happen here!" just happened here.
My thoughts and prayers for Sandy Hook victims and families.
Bookmarks