Ok problem solved. I was using positive values only with what I thought was an unsigned int. The library for the micro indicated an unsigned 16 bit int, so I used values from 0-65535 for the sine.
When I plugged both positive and negative values (-32768 to 32768) for the look up table the problem went away.... strange but there ya go. Variable must have been maxing out and resetting to 0 etc...
Hope this helps someone else sometime 🙂
When I plugged both positive and negative values (-32768 to 32768) for the look up table the problem went away.... strange but there ya go. Variable must have been maxing out and resetting to 0 etc...
Hope this helps someone else sometime 🙂
- Status
- Not open for further replies.