-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong render #527
Comments
Strange. Any code / pictures? |
Thanks. Can you also post the code which causes this? |
The FFT is not really needed here so you can remove it |
You must not change the content of the picture loop itself. This means, the millis() check should be outside the loop. }
if(millis() - lastChange > 2000){
u8g.firstPage();
do{
for(int i = 0; i < SAMPLES/2; i++)
u8g.drawLine(i*2, 64, i*2, 64-fft[i]);
}while(u8g.nextPage());
} else{
u8g.firstPage();
u8g.setFont(u8g_font_unifont);
u8g.setPrintPos(0, 20);
u8g.print("Rotary:");
u8g.setPrintPos(0, 40);
u8g.print("Count");
}while(u8g.nextPage());
}
|
Well it dosen't display the text but the FFT yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When i connect my KS0108 to my Arduino Due it renders some letters wrong. 0 and 1 are rendered just fine but 2 and 3 are not, and instead of "rotary" it prints "rötäry" (Using unifont)
The text was updated successfully, but these errors were encountered: