Advertisement
mayorBanana

Untitled

May 18th, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #include <GyverOLED.h>
  2.  
  3. GyverOLED<SSD1306_128x64, OLED_BUFFER> oled;
  4.  
  5. void setup() {
  6. oled.init();
  7. oled.clear();
  8. oled.update();
  9.  
  10. oled.home();
  11. oled.setScale(3);
  12. oled.print("Здаров!");
  13. oled.update();
  14.  
  15. oled.setCursorXY(10, 30); // курсор в (пиксель X, пиксель Y)
  16. oled.setScale(3);
  17. oled.print("Привет!");
  18. oled.update();
  19. }
  20.  
  21. void loop() {
  22. // put your main code here, to run repeatedly:
  23.  
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement