u8g2 library and 128x32 OLED - Arduino lesson

Опубликовано: 18 Октябрь 2024
на канале: Volos Projects
28,462
173

I will show you how to install and use u8g2 library. You can also check how library works on 128x32 OLED screen. Data that are displayed on screen are voltage of batteries arduino runing at (google arduino secret voltmetar) . Next data is value from analogRead() command. I used pot to connect it to A0 pin and change values. And finaly when button is pressed we can see seconds since the Arduino board began running the current program.

This is great library with lots of fonts. All font codes an all other information about library you can find here https://github.com/olikraus/u8g2/wiki