I finally got to cleaning up and compiling the test code I wrote for the ATtiny26! This test code should be producing the "Middle C" note, with output from OC1A on PB1. The output seems to be correct when fed into my Stellaris Launchpad Logic analyser and OLS. It shows the PWM changing based on the table values. I have not listened to the audio yet ( people may be awakened! ), or added a low pass filter for the Sine Wave generation, so those will have to wait.
here's some pics from the logic analyser:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.