er2468
October 14, 2023, 1:57am
1
I tried using myOLED.textSize();
but it didnt work.
Im using Qwiic Micro Oled sparkfun library: <SparkFun_Qwiic_OLED.h>
, here is my code:
void drawOne (int width, int height){
int x = width/2;
int y = height/2;
myOLED.setCursor(0,0);
myOLED.textSize(3);
myOLED.text(x, y,"1", COLOR_WHITE);
}
Please confirm that you are using a supported micro processor and a supported OLED display.
er2468
October 14, 2023, 2:21am
3
What is a microprocessor? if you mean arduino uno then yes.
as for OLED display, yes i am using correct display
xfpd
October 14, 2023, 4:48am
4
er2468:
it didnt work
You need myOLED.display()
to show the data on the OLED.
You can receive better and more detailed help if you:
post your complete sketch
describe with more details what your OLED-display did really show
post the exact type what OLED (I mean the hardware ) you are using
if you describe with numbers what you want to see on the display instead
example "I want the letters to be 20 pixels high"
best regards Stefan
hammy
October 14, 2023, 7:28am
6
There will be examples with the supplied library for your display - have a look at those .
system
Closed
April 11, 2024, 7:28am
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.